Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/netinet6 Pull up revision 1.52 (requested by itojun):



details:   https://anonhg.NetBSD.org/src/rev/93b870fe3df3
branches:  netbsd-1-5
changeset: 491203:93b870fe3df3
user:      he <he%NetBSD.org@localhost>
date:      Fri Apr 06 00:27:40 2001 +0000

description:
Pull up revision 1.52 (requested by itojun):
  Record IPsec packet history in m_aux structure.  Let ipfilter
  look at wire-format packet only (not the decapsulated ones), so
  that VPN setting can work with NAT/ipfilter settings.

diffstat:

 sys/netinet6/icmp6.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 74f59c797181 -r 93b870fe3df3 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c      Fri Apr 06 00:27:26 2001 +0000
+++ b/sys/netinet6/icmp6.c      Fri Apr 06 00:27:40 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icmp6.c,v 1.33.2.9 2001/04/04 17:14:31 he Exp $        */
+/*     $NetBSD: icmp6.c,v 1.33.2.10 2001/04/06 00:27:40 he Exp $       */
 /*     $KAME: icmp6.c,v 1.146 2000/10/01 12:37:20 itojun Exp $ */
 
 /*
@@ -1863,7 +1863,7 @@
        m->m_flags &= ~(M_BCAST|M_MCAST);
 #ifdef IPSEC
        /* Don't lookup socket */
-       ipsec_setsocket(m, NULL);
+       (void)ipsec_setsocket(m, NULL);
 #endif /*IPSEC*/
 
 #ifdef COMPAT_RFC1885
@@ -2378,7 +2378,7 @@
        /* send the packet to outside... */
 #ifdef IPSEC
        /* Don't lookup socket */
-       ipsec_setsocket(m, NULL);
+       (void)ipsec_setsocket(m, NULL);
 #endif /*IPSEC*/
        ip6_output(m, NULL, NULL, 0, NULL, &outif);
        if (outif) {



Home | Main Index | Thread Index | Old Index