diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-30 06:07:18 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-30 15:34:03 +0200 |
commit | 0f4b1d2d95e4f9bdb1412b5792941289332a7cc6 (patch) | |
tree | ba571cc3e3ff22dae0edd8d2b0f1231a7c18f538 /pimd/pim_hello.c | |
parent | pimd: Add code to find neighbor by secondary (diff) | |
download | frr-0f4b1d2d95e4f9bdb1412b5792941289332a7cc6.tar.xz frr-0f4b1d2d95e4f9bdb1412b5792941289332a7cc6.zip |
pimd: Add ability to encode/decode v6 secondary addresses
Add ability to encode/decode the v6 secondary addresses
if they are passed to us.
This also fixes the issue where if we are passed
a v6 secondary address list we will not refuse
to form neighbors.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_hello.c')
-rw-r--r-- | pimd/pim_hello.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c index 3d7ae4ad2..d9b04ea95 100644 --- a/pimd/pim_hello.c +++ b/pimd/pim_hello.c @@ -507,7 +507,8 @@ int pim_hello_build_tlv(const char *ifname, if (ifconnected) { curr = pim_tlv_append_addrlist_ucast(curr, pastend, - ifconnected); + ifconnected, + AF_INET); if (!curr) { if (PIM_DEBUG_PIM_HELLO) { zlog_debug("%s: could not set PIM hello Secondary Address List option for interface %s", |