Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.82 retrieving revision 1.82.2.3 diff -u -p -r1.82 -r1.82.2.3 --- src/sys/netinet/ip_input.c 1999/03/27 01:24:49 1.82 +++ src/sys/netinet/ip_input.c 1999/10/17 23:59:59 1.82.2.3 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.82 1999/03/27 01:24:49 aidan Exp $ */ +/* $NetBSD: ip_input.c,v 1.82.2.3 1999/10/17 23:59:59 cgd Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -420,7 +420,8 @@ next: * Check our list of addresses, to see if the packet is for us. */ INADDR_TO_IA(ip->ip_dst, ia); - if (ia != NULL) goto ours; + if (ia != NULL) + goto ours; if (m->m_pkthdr.rcvif->if_flags & IFF_BROADCAST) { for (ifa = m->m_pkthdr.rcvif->if_addrlist.tqh_first; ifa != NULL; ifa = ifa->ifa_list.tqe_next) { @@ -1226,7 +1227,7 @@ ip_forward(m, srcrt) ntohl(ip->ip_src.s_addr), ntohl(ip->ip_dst.s_addr), ip->ip_ttl); #endif - if (m->m_flags & M_BCAST || in_canforward(ip->ip_dst) == 0) { + if (m->m_flags & (M_BCAST|M_MCAST) || in_canforward(ip->ip_dst) == 0) { ipstat.ips_cantforward++; m_freem(m); return;