diff options
author | phk <phk@FreeBSD.org> | 2009-04-05 14:01:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2009-04-05 14:01:39 +0000 |
commit | 8c0066c04042edc19879610fab48e9dbde8014c5 (patch) | |
tree | 941da68a6a83f1d57f1b0b6cf171466b57b6d190 /sbin/routed/parms.c | |
parent | e48abfcaf0db4b971f5b49e08c0cc2d1b470e460 (diff) | |
download | FreeBSD-src-8c0066c04042edc19879610fab48e9dbde8014c5.zip FreeBSD-src-8c0066c04042edc19879610fab48e9dbde8014c5.tar.gz |
Use <sys/queue.h> to manage the interface list.
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 356ac8e..f7cbf9b 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++; |