summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/ChangeLog5
-rw-r--r--zebra/if_ioctl_solaris.c2
2 files changed, 6 insertions, 1 deletions
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 <paul@dishone.st>
+
+ * if_ioctl_solaris.c: (if_lookup_linklocal) fix order of args
+ in ALL_LIST_ELEMENTS_RO macro.
+
2005-04-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* 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)))