diff options
| author | Abhishek N R <abnr@vmware.com> | 2022-02-08 09:15:06 -0800 |
|---|---|---|
| committer | Abhishek N R <abnr@vmware.com> | 2022-03-28 23:53:24 -0700 |
| commit | 45e26aa0b297c410cba4c4c8f98f57fa73bdff78 (patch) | |
| tree | 4fe5e15a3d6388c1fb8841a58b7521cfbd379364 /pimd/pim_cmd.h | |
| parent | 0095f482ca70ea74c7099405accfc742ef82bdb3 (diff) | |
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 89a4e6e699..8022eeea0e 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 */ |
