aboutsummaryrefslogtreecommitdiff
path: root/sbin/routed/input.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2009-04-05 15:06:02 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2009-04-05 15:06:02 +0000
commit6b6b82805459a70d8ffd69fc9b704817b3d31cf4 (patch)
tree77cd6cfe11ecfe1d0839dd74515da4906b510c43 /sbin/routed/input.c
parent9940236ef35a434df23979f88e152d0907989af1 (diff)
downloadsrc-6b6b82805459a70d8ffd69fc9b704817b3d31cf4.tar.gz
src-6b6b82805459a70d8ffd69fc9b704817b3d31cf4.zip
Convert list of remote interfaces to LIST_* macros
Notes
Notes: svn path=/head/; revision=190713
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 f655346bfcad..51da12b4924c 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;
}