summaryrefslogtreecommitdiffstats
path: root/zebra/if_ioctl_solaris.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-15 16:57:19 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-15 16:57:19 +0200
commit60c0687a9a0608f828ce36134638ea6974d733ea (patch)
treea2b5bb2695f5871d1811ccf58042648c0be27635 /zebra/if_ioctl_solaris.c
parentMerge pull request #2039 from qlyoung/docuser (diff)
downloadfrr-60c0687a9a0608f828ce36134638ea6974d733ea.tar.xz
frr-60c0687a9a0608f828ce36134638ea6974d733ea.zip
zebra: Fix crash with certain types of tunnels
Zebra did not have a handler for tunnels in v6 for some reason. Add code to handle the broadcast address for both addition and deletion. This appears to fix the crash. There might still need to be some work to make the code `work` properly for this type of tunnel. Fixes: #2063 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/if_ioctl_solaris.c')
-rw-r--r--zebra/if_ioctl_solaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c
index e9182304d..6cf98e85f 100644
--- a/zebra/if_ioctl_solaris.c
+++ b/zebra/if_ioctl_solaris.c
@@ -315,7 +315,7 @@ static int if_get_addr(struct interface *ifp, struct sockaddr *addr,
connected_add_ipv4(ifp, flags, &SIN(addr)->sin_addr, prefixlen,
(struct in_addr *)dest_pnt, label);
else if (af == AF_INET6)
- connected_add_ipv6(ifp, flags, &SIN6(addr)->sin6_addr,
+ connected_add_ipv6(ifp, flags, &SIN6(addr)->sin6_addr, NULL,
prefixlen, label);
return 0;