diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2009-04-05 14:01:39 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2009-04-05 14:01:39 +0000 |
commit | 38ae65235e00a1e87239372f973d057aeff1f2d8 (patch) | |
tree | 941da68a6a83f1d57f1b0b6cf171466b57b6d190 /sbin/routed/parms.c | |
parent | 3b3e61faa1eed8e917926c8c74a4acbe709e1dd2 (diff) | |
download | src-38ae65235e00a1e87239372f973d057aeff1f2d8.tar.gz src-38ae65235e00a1e87239372f973d057aeff1f2d8.zip |
Use <sys/queue.h> to manage the interface list.
Notes
Notes:
svn path=/head/; revision=190711
Diffstat (limited to 'sbin/routed/parms.c')
-rw-r--r-- | sbin/routed/parms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/parms.c b/sbin/routed/parms.c index 356ac8e9da36..f7cbf9bf4ae9 100644 --- a/sbin/routed/parms.c +++ b/sbin/routed/parms.c @@ -350,7 +350,7 @@ gwkludge(void) /* After all of the parameter lines have been read, * apply them to any remote interfaces. */ - for (ifp = ifnet; 0 != ifp; ifp = ifp->int_next) { + LIST_FOREACH(ifp, &ifnet, int_list) { get_parms(ifp); tot_interfaces++; |