mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 11:18:59 +00:00
zebra: use "mcast group" instead of just mcast in show and logs
Fixup done in response to Jafar's review comments. root@act-7726-03:~# vtysh -c "show interface vxlan1000111" Interface vxlan1000111 is up, line protocol is up Link ups: 0 last: (never) Link downs: 0 last: (never) PTM status: disabled vrf: default index 95 metric 0 mtu 1500 speed 0 flags: <UP,BROADCAST,RUNNING,MULTICAST> Type: Ethernet HWaddr: 7e:1d:c1:d5:d1:cc Interface Type Vxlan VxLAN Id 1000111 VTEP IP: 6.0.0.28 Access VLAN Id 111 Mcast Group 239.1.1.111 >>>>>>>>>> Master (bridge) ifindex 99 root@act-7726-03:~# Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
This commit is contained in:
parent
b21e0c9375
commit
aa0677b4b6
@ -1369,10 +1369,10 @@ static void if_dump_vty(struct vty *vty, struct interface *ifp)
|
||||
vty_out(vty, " VTEP IP: %s",
|
||||
inet_ntoa(vxlan_info->vtep_ip));
|
||||
if (vxlan_info->access_vlan)
|
||||
vty_out(vty, " Access VLAN Id %u",
|
||||
vty_out(vty, " Access VLAN Id %u\n",
|
||||
vxlan_info->access_vlan);
|
||||
if (vxlan_info->mcast_grp.s_addr != INADDR_ANY)
|
||||
vty_out(vty, " Mcast %s",
|
||||
vty_out(vty, " Mcast Group %s",
|
||||
inet_ntoa(vxlan_info->mcast_grp));
|
||||
vty_out(vty, "\n");
|
||||
}
|
||||
|
@ -8681,7 +8681,7 @@ int zebra_vxlan_if_add(struct interface *ifp)
|
||||
addr_buf2, INET_ADDRSTRLEN);
|
||||
|
||||
zlog_debug(
|
||||
"Add L2-VNI %u VRF %s intf %s(%u) VLAN %u local IP %s mcast %s master %u",
|
||||
"Add L2-VNI %u VRF %s intf %s(%u) VLAN %u local IP %s mcast_grp %s master %u",
|
||||
vni,
|
||||
vlan_if ? vrf_id_to_name(vlan_if->vrf_id)
|
||||
: VRF_DEFAULT_NAME,
|
||||
|
Loading…
Reference in New Issue
Block a user