From 3417f9411098d1cd19c5db539c0768e778b83a1c Mon Sep 17 00:00:00 2001 From: wollman Date: Fri, 13 Dec 1996 21:29:07 +0000 Subject: Convert the interface address and IP interface address structures to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable). --- sys/i386/isa/if_lnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386/isa/if_lnc.c') diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index 20201e4..0df6bbe 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -1212,7 +1212,7 @@ lnc_init(struct lnc_softc *sc) /* Check that interface has valid address */ - if (!sc->arpcom.ac_if.if_addrlist) + if (TAILQ_EMPTY(&sc->arpcom.ac_if.if_addrhead)) /* XXX unlikely */ return; /* Shut down interface */ -- cgit v1.1