From 6b6b82805459a70d8ffd69fc9b704817b3d31cf4 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 5 Apr 2009 15:06:02 +0000 Subject: Convert list of remote interfaces to LIST_* macros --- sbin/routed/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/routed/input.c') 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; } -- cgit v1.2.3