summaryrefslogtreecommitdiffstats
path: root/sbin/routed/input.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-04-05 15:06:02 +0000
committerphk <phk@FreeBSD.org>2009-04-05 15:06:02 +0000
commitbf0cde780f6b8e0ccb209add2d686963706d9e78 (patch)
tree77cd6cfe11ecfe1d0839dd74515da4906b510c43 /sbin/routed/input.c
parentab2775f3db00244b047f362ba89ba36865f7a02a (diff)
downloadFreeBSD-src-bf0cde780f6b8e0ccb209add2d686963706d9e78.zip
FreeBSD-src-bf0cde780f6b8e0ccb209add2d686963706d9e78.tar.gz
Convert list of remote interfaces to LIST_* macros
Diffstat (limited to 'sbin/routed/input.c')
-rw-r--r--sbin/routed/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/input.c b/sbin/routed/input.c
index f655346..51da12b 100644
--- a/sbin/routed/input.c
+++ b/sbin/routed/input.c
@@ -96,7 +96,7 @@ read_rip(int sock,
cc+sizeof(inbuf.ifname));
/* check the remote interfaces first */
- for (aifp = remote_if; aifp; aifp = aifp->int_rlink) {
+ LIST_FOREACH(aifp, &remote_if, remote_list) {
if (aifp->int_addr == from.sin_addr.s_addr)
break;
}
OpenPOWER on IntegriCloud