From cf460ef9478de57fae490ff1bd8cb58ccbe40b40 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 10 Apr 2005 16:54:26 +0000 Subject: 2005-04-10 Paul Jakma * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args in ALL_LIST_ELEMENTS_RO macro. --- zebra/ChangeLog | 5 +++++ zebra/if_ioctl_solaris.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'zebra') diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 1ee61c77..7210c7a8 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,8 @@ +2005-04-10 Paul Jakma + + * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args + in ALL_LIST_ELEMENTS_RO macro. + 2005-04-10 Andrew J. Schorr * zserv.c (zebra_client_read): Fix bug: first read attempt should diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c index ae6a9452..efa65060 100644 --- a/zebra/if_ioctl_solaris.c +++ b/zebra/if_ioctl_solaris.c @@ -344,7 +344,7 @@ if_lookup_linklocal (struct interface *ifp) if (ifp == NULL) return NULL; - for (ALL_LIST_ELEMENTS_RO(ifp->connected, ifc, node)) + for (ALL_LIST_ELEMENTS_RO(ifp->connected, node, ifc)) { if ((ifc->address->family == AF_INET6) && (IN6_IS_ADDR_LINKLOCAL (&ifc->address->u.prefix6))) -- cgit v1.2.1