From c8fcba1870a480219b2e2407ec8098f7d8a0dc27 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Sat, 23 Mar 1996 19:34:12 +0000 Subject: [PATCH] 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. --- sys/i386/isa/if_le.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c index 0bb4eba676b..53710617e0d 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