mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
pim6d: Removing duplicate PIM_DECLVAR_CONTEXT macro
Removing the duplicate PIM_DECLVAR_CONTEXT from pim_common_cmd.h file. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
This commit is contained in:
parent
d45a846e5c
commit
22532615b1
@ -104,14 +104,6 @@ int gm_process_last_member_query_interval_cmd(struct vty *vty,
|
|||||||
int gm_process_no_last_member_query_interval_cmd(struct vty *vty);
|
int gm_process_no_last_member_query_interval_cmd(struct vty *vty);
|
||||||
int pim_process_ssmpingd_cmd(struct vty *vty, enum nb_operation operation,
|
int pim_process_ssmpingd_cmd(struct vty *vty, enum nb_operation operation,
|
||||||
const char *src_str);
|
const char *src_str);
|
||||||
/*
|
|
||||||
* 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
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Special Macro to allow us to get the correct pim_instance;
|
* Special Macro to allow us to get the correct pim_instance;
|
||||||
|
Loading…
Reference in New Issue
Block a user