diff options
author | wollman <wollman@FreeBSD.org> | 1996-12-13 21:29:07 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-12-13 21:29:07 +0000 |
commit | 3417f9411098d1cd19c5db539c0768e778b83a1c (patch) | |
tree | 782c07e423375f5e3235e7a677261301a91e59c6 /sys/net/if_spppsubr.c | |
parent | 4ad813db29ba756a35db6540961c86a4c1f5592b (diff) | |
download | FreeBSD-src-3417f9411098d1cd19c5db539c0768e778b83a1c.zip FreeBSD-src-3417f9411098d1cd19c5db539c0768e778b83a1c.tar.gz |
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).
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index e295cbd..88208009 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -14,7 +14,7 @@ * * Version 1.9, Wed Oct 4 18:58:15 MSK 1995 * - * $Id: if_spppsubr.c,v 1.12 1996/06/10 23:17:45 gpalmer Exp $ + * $Id: if_spppsubr.c,v 1.13 1996/08/30 16:44:36 jhay Exp $ */ #undef DEBUG @@ -898,7 +898,8 @@ sppp_cisco_input (struct sppp *sp, struct mbuf *m) } break; case CISCO_ADDR_REQ: - for (ifa=ifp->if_addrlist; ifa; ifa=ifa->ifa_next) + for (ifa=ifp->if_addrhead.tqh_first; ifa; + ifa=ifa->ifa_link.tqe_next) if (ifa->ifa_addr->sa_family == AF_INET) break; if (! ifa) { |