summaryrefslogtreecommitdiffstats
path: root/pimd/test_igmpv3_join.c
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-12-14 07:34:25 +0100
committerAbhishek N R <abnr@vmware.com>2023-04-03 13:05:17 +0200
commitbd2c824a21db78353125b4d2a4026b7a63071883 (patch)
tree98feb0e2c5485d12866c19f0ecd896e7597e64f8 /pimd/test_igmpv3_join.c
parentMerge pull request #13182 from taspelund/add_bgp_json_comments (diff)
downloadfrr-bd2c824a21db78353125b4d2a4026b7a63071883.tar.xz
frr-bd2c824a21db78353125b4d2a4026b7a63071883.zip
pim6d: Impelmenting "ipv6 mld join"
Fixes: #12014 Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd/test_igmpv3_join.c')
-rw-r--r--pimd/test_igmpv3_join.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/test_igmpv3_join.c b/pimd/test_igmpv3_join.c
index 07070900d..926e453c9 100644
--- a/pimd/test_igmpv3_join.c
+++ b/pimd/test_igmpv3_join.c
@@ -54,8 +54,8 @@ static int iface_solve_index(const char *ifname)
int main(int argc, const char *argv[])
{
- struct in_addr group_addr;
- struct in_addr source_addr;
+ pim_addr group_addr;
+ pim_addr source_addr;
const char *ifname;
const char *group;
const char *source;
@@ -106,7 +106,7 @@ int main(int argc, const char *argv[])
exit(1);
}
- result = pim_igmp_join_source(fd, ifindex, group_addr, source_addr);
+ result = pim_gm_join_source(fd, ifindex, group_addr, source_addr);
if (result) {
fprintf(stderr,
"%s: setsockopt(fd=%d) failure for IGMP group %s source %s ifindex %d on interface %s: errno=%d: %s\n",