From owner-cvs-all Thu Feb 8 9:57:14 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9350437B698; Thu, 8 Feb 2001 09:56:50 -0800 (PST) Received: (from archie@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f18Huo993306; Thu, 8 Feb 2001 09:56:50 -0800 (PST) (envelope-from archie) Message-Id: <200102081756.f18Huo993306@freefall.freebsd.org> From: Archie Cobbs Date: Thu, 8 Feb 2001 09:56:50 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_ethersubr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG archie 2001/02/08 09:56:50 PST Modified files: sys/net if_ethersubr.c Log: When we receive an incoming Ethernet frame that was unicast to a different hardware address, we should drop it (this should only happen in promiscuous mode). Relocate the code for this check from before ng_ether(4) processing to after ng_ether(4) processing. Also fix a compiler warning. PR: kern/24465 Revision Changes Path 1.89 +15 -11 src/sys/net/if_ethersubr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message