mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 15:10:38 +00:00
pimd: skip displaying pim config on the vxlan termination device ipmr-lo
pim is enabled internally/implicitly on the vxlan termination device and displaying that can confuse the admin and tools (such as frr-reload). Ticket: CM-30180 Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
This commit is contained in:
parent
78695ce3a4
commit
d149c75aa1
@ -275,6 +275,13 @@ int pim_interface_config_write(struct vty *vty)
|
||||
continue;
|
||||
|
||||
FOR_ALL_INTERFACES (pim->vrf, ifp) {
|
||||
/* pim is enabled internally/implicitly on the vxlan
|
||||
* termination device ipmr-lo. skip displaying that
|
||||
* config to avoid confusion
|
||||
*/
|
||||
if (pim_vxlan_is_term_dev_cfg(pim, ifp))
|
||||
continue;
|
||||
|
||||
/* IF name */
|
||||
if (vrf->vrf_id == VRF_DEFAULT)
|
||||
vty_frame(vty, "interface %s\n", ifp->name);
|
||||
|
Loading…
Reference in New Issue
Block a user