Source-Changes-HG archive

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

[src/trunk]: src/sys/net Include opt_inet.h to get INET6 definition.



details:   https://anonhg.NetBSD.org/src/rev/55a5d747d4e1
branches:  trunk
changeset: 549376:55a5d747d4e1
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Jul 13 08:51:36 2003 +0000

description:
Include opt_inet.h to get INET6 definition.
Now, bridged ipv6 packets are passed through ipfilter.
However, some v6 packets still do not get transmitted when ipf is enabled.
Partial fix for PR kern/22063.

diffstat:

 sys/net/if_bridge.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r b5ce66a3da81 -r 55a5d747d4e1 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Sun Jul 13 08:31:13 2003 +0000
+++ b/sys/net/if_bridge.c       Sun Jul 13 08:51:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.15 2003/06/23 11:02:09 martin Exp $    */
+/*     $NetBSD: if_bridge.c,v 1.16 2003/07/13 08:51:36 jdc Exp $       */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -82,9 +82,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.15 2003/06/23 11:02:09 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.16 2003/07/13 08:51:36 jdc Exp $");
 
 #include "opt_bridge_ipf.h"
+#include "opt_inet.h"
 #include "opt_pfil_hooks.h"
 #include "bpfilter.h"
 
@@ -2131,7 +2132,7 @@
 bridge_ip6_checkbasic(struct mbuf **mp)
 {
        struct mbuf *m = *mp;
-       struct ip6 *ip6;
+       struct ip6_hdr *ip6;
 
         /*
          * If the IPv6 header is not aligned, slurp it up into a new



Home | Main Index | Thread Index | Old Index