Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet oops. move sendit: above the PFIL_HOOKS so that...



details:   https://anonhg.NetBSD.org/src/rev/f6af0cc78100
branches:  trunk
changeset: 473552:f6af0cc78100
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 07 01:26:04 1999 +0000

description:
oops.  move sendit: above the PFIL_HOOKS so that multicast traffic is filtered.  from darren reed.

diffstat:

 sys/netinet/ip_output.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 3dd86c658116 -r f6af0cc78100 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Mon Jun 07 00:53:09 1999 +0000
+++ b/sys/netinet/ip_output.c   Mon Jun 07 01:26:04 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.59 1999/05/04 19:50:23 hwr Exp $       */
+/*     $NetBSD: ip_output.c,v 1.60 1999/06/07 01:26:04 mrg Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -359,6 +359,7 @@
        } else
                m->m_flags &= ~M_BCAST;
 
+sendit:
 #ifdef PFIL_HOOKS
        /*
         * Run through list of hooks for output packets.
@@ -377,7 +378,6 @@
                        ip = mtod(m, struct ip *);
                }
 #endif /* PFIL_HOOKS */
-sendit:
        /*
         * If small enough for mtu of path, can just send directly.
         */



Home | Main Index | Thread Index | Old Index