summaryrefslogtreecommitdiffstats
path: root/zebra/if_ioctl_solaris.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-28 04:39:18 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-28 05:52:06 +0200
commit608105a73eb8f24ad8f6124dfcc82ac62bd99bff (patch)
tree601f1c916af3c8b2edcc2a363e82821565b4bbad /zebra/if_ioctl_solaris.c
parentzebra: configure PtP address on ifaliasreq systems (diff)
downloadfrr-608105a73eb8f24ad8f6124dfcc82ac62bd99bff.tar.xz
frr-608105a73eb8f24ad8f6124dfcc82ac62bd99bff.zip
zebra: drop IPv6 "broadcast" and "peer" addr code
There is no such thing as an IPv6 "broadcast" or "peer" address. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/if_ioctl_solaris.c')
-rw-r--r--zebra/if_ioctl_solaris.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c
index 3d5319459..9ec575b5b 100644
--- a/zebra/if_ioctl_solaris.c
+++ b/zebra/if_ioctl_solaris.c
@@ -317,8 +317,7 @@ static int if_get_addr(struct interface *ifp, struct sockaddr *addr,
(struct in_addr *)dest_pnt, label);
else if (af == AF_INET6)
connected_add_ipv6(ifp, flags, &SIN6(addr)->sin6_addr,
- prefixlen, (struct in6_addr *)dest_pnt,
- label);
+ prefixlen, label);
return 0;
}