summaryrefslogtreecommitdiffstats
path: root/sbin/routed/trace.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-04-05 14:01:39 +0000
committerphk <phk@FreeBSD.org>2009-04-05 14:01:39 +0000
commit8c0066c04042edc19879610fab48e9dbde8014c5 (patch)
tree941da68a6a83f1d57f1b0b6cf171466b57b6d190 /sbin/routed/trace.c
parente48abfcaf0db4b971f5b49e08c0cc2d1b470e460 (diff)
downloadFreeBSD-src-8c0066c04042edc19879610fab48e9dbde8014c5.zip
FreeBSD-src-8c0066c04042edc19879610fab48e9dbde8014c5.tar.gz
Use <sys/queue.h> to manage the interface list.
Diffstat (limited to 'sbin/routed/trace.c')
-rw-r--r--sbin/routed/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/trace.c b/sbin/routed/trace.c
index 320056f..574b65c 100644
--- a/sbin/routed/trace.c
+++ b/sbin/routed/trace.c
@@ -870,7 +870,7 @@ trace_dump(void)
lastlog();
(void)fputs("current daemon state:\n", ftrace);
- for (ifp = ifnet; ifp != 0; ifp = ifp->int_next)
+ LIST_FOREACH(ifp, &ifnet, int_list)
trace_if("", ifp);
(void)rn_walktree(rhead, walk_trace, 0);
}
OpenPOWER on IntegriCloud