summaryrefslogtreecommitdiffstats
path: root/pimd/pimd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-02 16:33:23 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-02 16:33:23 +0100
commitb8d16be2871f8ec86a8d3f8c8ed89bc44dd8ca4f (patch)
tree85c688bc0d15312a1e830d1063bf69127456e335 /pimd/pimd.c
parentpimd: Turn on igmp when igmp commands are entered (diff)
downloadfrr-b8d16be2871f8ec86a8d3f8c8ed89bc44dd8ca4f.tar.xz
frr-b8d16be2871f8ec86a8d3f8c8ed89bc44dd8ca4f.zip
pimd: Hide 'ip multicast-routing' command
Automatically turn on pim if the daemon is turned on. Hide the 'ip multicast-routing' command Disable the 'no ip multicast-routing' command Do not display the 'ip multicast-routing' command. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r--pimd/pimd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index 2316cd08f..aa863fd47 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -124,7 +124,7 @@ void pim_init()
}
qpim_static_route_list->del = (void (*)(void *)) pim_static_route_free;
- qpim_mroute_socket_fd = -1; /* mark mroute as disabled */
+ pim_mroute_socket_enable();
qpim_inaddr_any.s_addr = PIM_NET_INADDR_ANY;