summaryrefslogtreecommitdiff
path: root/pimd/pim6_main.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-01-18 06:36:17 -0800
committerMobashshera Rasool <mrasool@vmware.com>2022-02-28 01:38:24 -0800
commit5d613d13b29da2e1e6ee588051a4465af1a53188 (patch)
treef66ae67cefbcd33f3b960745050e3e43231fbb68 /pimd/pim6_main.c
parentd7da6520e96418b37878b90d6b7696595870110a (diff)
pim6d: Adding the base changes
Adding the file pim6_cmd.h and pim6d_cmd.c as the base changes for implementing the CLI changes Removed the pim_cmd_init from the stub file. Co-authored-by: Sarita Patra <saritap@vmware.com> Co-authored-by: Abhishek N R <abnr@vmware.com> Co-authored-by: Sai Gomathi N <nsaigomathi@vmware.com> Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'pimd/pim6_main.c')
-rw-r--r--pimd/pim6_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim6_main.c b/pimd/pim6_main.c
index 71d0a472a5..c9e3463969 100644
--- a/pimd/pim6_main.c
+++ b/pimd/pim6_main.c
@@ -37,6 +37,7 @@
#include "pim_iface.h"
#include "pim_zebra.h"
#include "pim_nb.h"
+#include "pim6_cmd.h"
zebra_capabilities_t _caps_p[] = {
ZCAP_SYS_ADMIN,
@@ -176,9 +177,9 @@ int main(int argc, char **argv, char **envp)
prefix_list_delete_hook(pim_prefix_list_update);
pim_route_map_init();
- pim_init();
#endif
-
+ /* pim_init(); */
+ pim_cmd_init();
/*
* Initialize zclient "update" and "lookup" sockets
*/