diff options
author | Abhishek N R <abnr@vmware.com> | 2022-02-08 18:15:06 +0100 |
---|---|---|
committer | Abhishek N R <abnr@vmware.com> | 2022-03-29 08:53:24 +0200 |
commit | 45e26aa0b297c410cba4c4c8f98f57fa73bdff78 (patch) | |
tree | 4fe5e15a3d6388c1fb8841a58b7521cfbd379364 /pimd/pim_cmd.h | |
parent | pim6d: Implementing "show ipv6 pim rp-info" CLI (diff) | |
download | frr-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.h | 9 |
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 */ |