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.
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 1ee61c7..7210c7a 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 ae6a945..efa6506 100644
--- a/zebra/if_ioctl_solaris.c
+++ b/zebra/if_ioctl_solaris.c
@@ -344,7 +344,7 @@
   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)))