Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Small cosmetic change, and note a place where a ...



details:   https://anonhg.NetBSD.org/src/rev/060630502c70
branches:  trunk
changeset: 482047:060630502c70
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Feb 12 17:45:44 2000 +0000

description:
Small cosmetic change, and note a place where a statistic should be
gathered.

diffstat:

 sys/netinet/ip_input.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 9973b3ae6eb7 -r 060630502c70 sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c    Sat Feb 12 17:19:34 2000 +0000
+++ b/sys/netinet/ip_input.c    Sat Feb 12 17:45:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_input.c,v 1.97 2000/02/11 05:57:58 itojun Exp $     */
+/*     $NetBSD: ip_input.c,v 1.98 2000/02/12 17:45:44 thorpej Exp $    */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -397,11 +397,13 @@
                }
                ip = mtod(m, struct ip *);
        }
+
        /*
-        * we drop packets that have a multicast address as source
-        * as wanted by rfc 1112
+        * RFC1112: packets with a multicast source address are
+        * not allowed.
         */
        if (IN_MULTICAST(ip->ip_src.s_addr)) {
+               /* XXX stat */
                goto bad;
        }
 



Home | Main Index | Thread Index | Old Index