summaryrefslogtreecommitdiffstats
path: root/pimd/pim_cmd.h
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-02-08 18:15:06 +0100
committerAbhishek N R <abnr@vmware.com>2022-03-29 08:53:24 +0200
commit45e26aa0b297c410cba4c4c8f98f57fa73bdff78 (patch)
tree4fe5e15a3d6388c1fb8841a58b7521cfbd379364 /pimd/pim_cmd.h
parentpim6d: Implementing "show ipv6 pim rp-info" CLI (diff)
downloadfrr-45e26aa0b297c410cba4c4c8f98f57fa73bdff78.tar.xz
frr-45e26aa0b297c410cba4c4c8f98f57fa73bdff78.zip
pimd: Moving the common functions from pim_cmd.c
Moving the functions that are used by both IPV4 and IPV6 to a common file pim_cmd_common.c file Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd/pim_cmd.h')
-rw-r--r--pimd/pim_cmd.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/pimd/pim_cmd.h b/pimd/pim_cmd.h
index 89a4e6e69..8022eeea0 100644
--- a/pimd/pim_cmd.h
+++ b/pimd/pim_cmd.h
@@ -73,13 +73,4 @@
void pim_cmd_init(void);
-/*
- * Special Macro to allow us to get the correct pim_instance;
- */
-#define PIM_DECLVAR_CONTEXT(A, B) \
- struct vrf *A = VTY_GET_CONTEXT(vrf); \
- struct pim_instance *B = \
- (vrf) ? vrf->info : pim_get_pim_instance(VRF_DEFAULT); \
- vrf = (vrf) ? vrf : pim->vrf;
-
#endif /* PIM_CMD_H */