diff options
Diffstat (limited to 'pimd/pim_iface.c')
| -rw-r--r-- | pimd/pim_iface.c | 5 | 
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)  | 
