aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/lnc
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1996-12-13 21:29:07 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1996-12-13 21:29:07 +0000
commit59562606b9d3a958fa83ee8eb41ebc8da8ac6f73 (patch)
tree782c07e423375f5e3235e7a677261301a91e59c6 /sys/dev/lnc
parentf8a459d38513faf811e3b523f5a8ee0de2becda3 (diff)
Notes
Diffstat (limited to 'sys/dev/lnc')
-rw-r--r--sys/dev/lnc/if_lnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c
index 20201e46a93d..0df6bbe715f2 100644
--- a/sys/dev/lnc/if_lnc.c
+++ b/sys/dev/lnc/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 */