summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1996-03-23 19:34:12 +0000
committerfenner <fenner@FreeBSD.org>1996-03-23 19:34:12 +0000
commitf18ab3bef12e342d960b1da0af10108dbbe9208c (patch)
tree1338bf614b8efd46fce118f477f34d06ede9b23d /sys/i386/isa
parentad1e6f97bc28ba48526d485df38cd941fca63e8a (diff)
downloadFreeBSD-src-f18ab3bef12e342d960b1da0af10108dbbe9208c.zip
FreeBSD-src-f18ab3bef12e342d960b1da0af10108dbbe9208c.tar.gz
Remove reference to ac_ipaddr, which was being used to
determine if the interface had been assigned an IP address. This code prevented the interface from receiving ethernet broadcasts if it had no IP address assigned, and appeared to be an optimization that is not completely needed.
Diffstat (limited to 'sys/i386/isa')
-rw-r--r--sys/i386/isa/if_le.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c
index 0bb4eba..5371061 100644
--- a/sys/i386/isa/if_le.c
+++ b/sys/i386/isa/if_le.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_le.c,v 1.29 1996/01/26 09:27:29 phk Exp $
+ * $Id: if_le.c,v 1.30 1996/02/06 18:50:47 wollman Exp $
*/
/*
@@ -723,10 +723,10 @@ le_multi_filter(
return;
}
sc->le_flags &= ~IFF_MULTICAST;
- if (sc->le_ac.ac_ipaddr.s_addr != 0) {
+ /* if (interface has had an address assigned) { */
le_multi_op(sc, etherbroadcastaddr, TRUE);
sc->le_flags |= LE_BRDCSTONLY|IFF_MULTICAST;
- }
+ /* } */
#ifdef ISO
le_multi_op(sc, all_es_snpa, TRUE);
#endif
OpenPOWER on IntegriCloud