diff options
author | paul <paul> | 2004-09-24 08:24:42 +0000 |
---|---|---|
committer | paul <paul> | 2004-09-24 08:24:42 +0000 |
commit | 0c0f9112e1530e8e7497cbb75853b9e4da93ea95 (patch) | |
tree | 3cbc10ed3495b7813a6921fa417f4987514d3d90 /zebra/if_ioctl.c | |
parent | 1603c06ba3ad07b8f9380209a137569abe3700e1 (diff) |
2004-09-24 Paul Jakma <paul@dishone.st>
* irdp_{interface,main}.c: lists typedef removal cleanup.
update some list loops to LIST_LOOP. some miscellaneous style
and indent fixups.
(no_ip_irdp_address_preference_cmd) Fix delete of referenced node
in loop.
* irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer
to pointer.
* if_ioctl{,_solaris}.c: lists typedef removal cleanup.
update some list loops to LIST_LOOP.
Diffstat (limited to 'zebra/if_ioctl.c')
-rw-r--r-- | zebra/if_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/if_ioctl.c b/zebra/if_ioctl.c index ab36f681..431e7ea1 100644 --- a/zebra/if_ioctl.c +++ b/zebra/if_ioctl.c @@ -405,10 +405,10 @@ if_get_addr (struct interface *ifp) static void interface_info_ioctl () { - listnode node; + struct listnode *node; struct interface *ifp; - for (node = listhead (iflist); node; node = nextnode (node)) + LIST_LOOP (iflist, ifp, node) { ifp = getdata (node); |