Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Revert to previous multicast logic, which enami@s...



details:   https://anonhg.NetBSD.org/src/rev/94f84dc125e0
branches:  trunk
changeset: 547108:94f84dc125e0
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue May 13 08:58:01 2003 +0000

description:
Revert to previous multicast logic, which enami%sm.sony.co.jp@localhost says
was correct.

diffstat:

 sys/dev/ic/wi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fd7b41fdffb8 -r 94f84dc125e0 sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c   Tue May 13 08:39:25 2003 +0000
+++ b/sys/dev/ic/wi.c   Tue May 13 08:58:01 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wi.c,v 1.123 2003/05/13 08:35:58 dyoung Exp $  */
+/*     $NetBSD: wi.c,v 1.124 2003/05/13 08:58:01 dyoung Exp $  */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.123 2003/05/13 08:35:58 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.124 2003/05/13 08:58:01 dyoung Exp $");
 
 #define WI_HERMES_AUTOINC_WAR  /* Work around data write autoinc bug. */
 #define WI_HERMES_STATS_WAR    /* Work around stats counter bug. */
@@ -1491,7 +1491,7 @@
        struct ether_multi *enm;
        struct ether_multistep estep;
 
-       if ((ifp->if_flags & (IFF_ALLMULTI|IFF_PROMISC)) != 0) {
+       if ((ifp->if_flags & IFF_PROMISC) != 0) {
 allmulti:
                ifp->if_flags |= IFF_ALLMULTI;
                memset(&mlist, 0, sizeof(mlist));



Home | Main Index | Thread Index | Old Index