summaryrefslogtreecommitdiffstats
path: root/pimd/pim_hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_hello.c')
-rw-r--r--pimd/pim_hello.c3
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",