summaryrefslogtreecommitdiff
path: root/pimd/pim_iface.c
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-01-18 07:17:59 -0800
committerAbhishek N R <abnr@vmware.com>2022-03-14 23:00:38 -0700
commitfe2df4f7ba6906aeab492bcb0fd6c952f60e97aa (patch)
tree9a418a061666d2501f3317c0b7fe90978d82ff9e /pimd/pim_iface.c
parent82aca4ae4f995e5ff38202641ac47e127cd3c738 (diff)
pim6d: Adding "ipv6 mld join" CLI
Adding the Interface level config command ipv6 mld join This command can be used to configure the static MLD join for IPv6 group addresses on the interfaces. Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd/pim_iface.c')
-rw-r--r--pimd/pim_iface.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c
index 5425aec233..168bf6ea6a 100644
--- a/pimd/pim_iface.c
+++ b/pimd/pim_iface.c
@@ -1203,6 +1203,7 @@ static int igmp_join_sock(const char *ifname, ifindex_t ifindex,
return join_fd;
}
+#if PIM_IPV == 4
static struct gm_join *igmp_join_new(struct interface *ifp,
struct in_addr group_addr,
struct in_addr source_addr)
@@ -1241,7 +1242,9 @@ static struct gm_join *igmp_join_new(struct interface *ifp,
return ij;
}
+#endif /* PIM_IPV == 4 */
+#if PIM_IPV == 4
ferr_r pim_if_igmp_join_add(struct interface *ifp, struct in_addr group_addr,
struct in_addr source_addr)
{
@@ -1283,7 +1286,7 @@ ferr_r pim_if_igmp_join_add(struct interface *ifp, struct in_addr group_addr,
return ferr_ok();
}
-
+#endif /* PIM_IPV == 4 */
int pim_if_igmp_join_del(struct interface *ifp, struct in_addr group_addr,
struct in_addr source_addr)