Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 20:15:12 GMT
From:      iateaca@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r289172 - soc2015/iateaca/bhyve-ne2000-head/usr.sbin/bhyve
Message-ID:  <201508032015.t73KFC59092417@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: iateaca
Date: Mon Aug  3 20:15:11 2015
New Revision: 289172
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289172

Log:
  accept the frames in the Promiscuous mode for the destination addresses that do not match the station's address

Modified:
  soc2015/iateaca/bhyve-ne2000-head/usr.sbin/bhyve/pci_ne2000.c

Modified: soc2015/iateaca/bhyve-ne2000-head/usr.sbin/bhyve/pci_ne2000.c
==============================================================================
--- soc2015/iateaca/bhyve-ne2000-head/usr.sbin/bhyve/pci_ne2000.c	Mon Aug  3 19:15:19 2015	(r289171)
+++ soc2015/iateaca/bhyve-ne2000-head/usr.sbin/bhyve/pci_ne2000.c	Mon Aug  3 20:15:11 2015	(r289172)
@@ -472,6 +472,13 @@
 		}
 	}
 
+	/*
+	 * if the physical destination address does not match the station's
+	 * address, accept the frame only in the Promiscuous Physical mode
+	 */
+	if (rcr & ED_RCR_PRO)
+		return 1;
+
 	return 0;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508032015.t73KFC59092417>