summaryrefslogtreecommitdiff
path: root/pimd/pim_iface.c
diff options
context:
space:
mode:
authormobash-rasool <59957237+mobash-rasool@users.noreply.github.com>2022-03-29 18:30:10 +0530
committerGitHub <noreply@github.com>2022-03-29 18:30:10 +0530
commitf06b9fee95b3b42651f6a601f1a9eda63d1d2e72 (patch)
tree1b06d76050d49afe876c6d77d679a1c815f749ea /pimd/pim_iface.c
parentc845d58d6ffa515cad54f5735fedd58f57b9a34e (diff)
parente7485deb0a21da3b371bfb71fd531056b356403b (diff)
Merge pull request #10882 from opensourcerouting/pim6-txrx
pim6d: send IPv6 PIM packets
Diffstat (limited to 'pimd/pim_iface.c')
-rw-r--r--pimd/pim_iface.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c
index 8e0e418a99..4470d05663 100644
--- a/pimd/pim_iface.c
+++ b/pimd/pim_iface.c
@@ -187,9 +187,7 @@ struct pim_interface *pim_if_new(struct interface *ifp, bool igmp, bool pim,
ifp->info = pim_ifp;
-#if PIM_IPV == 4
pim_sock_reset(ifp);
-#endif
pim_if_add_vif(ifp, ispimreg, is_vxlan_term);
pim_ifp->pim->mcast_if_count++;
@@ -1751,7 +1749,6 @@ static int pim_ifp_down(struct interface *ifp)
*/
pim_if_addr_del_all(ifp);
-#if PIM_IPV == 4
/*
pim_sock_delete() closes the socket, stops read and timer
threads,
@@ -1760,7 +1757,6 @@ static int pim_ifp_down(struct interface *ifp)
if (ifp->info) {
pim_sock_delete(ifp, "link down");
}
-#endif
}
if (ifp->info) {