Subject: patch for if_le.c to make it compile under -current.
To: None <port-sparc@NetBSD.ORG>
From: matthew green <mrg@mame.mu.Oz.Au>
List: port-sparc
Date: 06/23/1995 11:12:13
(i'm not near my nebsd machine now, and i forgot to do this last
night when i fixed it).
.mrg.
Index: src/sys/arch/sparc/dev/if_le.c
*** if_le.c.orig Fri Jun 23 11:10:02 1995
--- if_le.c Fri Jun 23 11:10:14 1995
***************
*** 455,463 ****
register struct ifnet *ifp = &sc->sc_if;
register int s;
- /* not yet, if address still unknown */
- if (ifp->if_addrlist == (struct ifaddr *)0)
- return (0);
if ((ifp->if_flags & IFF_RUNNING) == 0) {
s = splimp();
ifp->if_flags |= IFF_RUNNING;
--- 455,460 ----