mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
pimd: Allow pim to display what it believes the mlag role is.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
d6749d74c6
commit
afec9bba1e
@ -4408,9 +4408,12 @@ static void pim_cmd_show_ip_multicast_helper(struct pim_instance *pim,
|
|||||||
struct vrf *vrf = pim->vrf;
|
struct vrf *vrf = pim->vrf;
|
||||||
time_t now = pim_time_monotonic_sec();
|
time_t now = pim_time_monotonic_sec();
|
||||||
char uptime[10];
|
char uptime[10];
|
||||||
|
char mlag_role[80];
|
||||||
|
|
||||||
pim = vrf->info;
|
pim = vrf->info;
|
||||||
|
|
||||||
|
vty_out(vty, "Router MLAG Role: %s\n",
|
||||||
|
mlag_role2str(router->role, mlag_role, sizeof(mlag_role)));
|
||||||
vty_out(vty, "Mroute socket descriptor:");
|
vty_out(vty, "Mroute socket descriptor:");
|
||||||
|
|
||||||
vty_out(vty, " %d(%s)\n", pim->mroute_socket, vrf->name);
|
vty_out(vty, " %d(%s)\n", pim->mroute_socket, vrf->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user