diff options
author | paul <paul> | 2005-04-10 16:54:26 +0000 |
---|---|---|
committer | paul <paul> | 2005-04-10 16:54:26 +0000 |
commit | cf460ef9478de57fae490ff1bd8cb58ccbe40b40 (patch) | |
tree | 42695453236602efbfcb2203b3d2241a38a1a42b /zebra | |
parent | c7959916ffe11daf57490da854b069f4fe529153 (diff) |
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.
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/if_ioctl_solaris.c | 2 |
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))) |