mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 16:26:10 +00:00
bgpd: bgp_vrf is already deref'ed in all paths
The usage of bgp_vrf does not need to be tested at this point since it's already been derefed in all paths to this point. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
529203905b
commit
ad5329c7b0
@ -389,7 +389,7 @@ static void display_l3vni(struct vty *vty, struct bgp *bgp_vrf,
|
||||
}
|
||||
json_object_string_add(json, "advertiseGatewayMacip", "n/a");
|
||||
json_object_string_add(json, "advertiseSviMacIp", "n/a");
|
||||
if (bgp_vrf && bgp_vrf->evpn_info) {
|
||||
if (bgp_vrf->evpn_info) {
|
||||
json_object_string_add(json, "advertisePip",
|
||||
bgp_vrf->evpn_info->advertise_pip
|
||||
? "Enabled"
|
||||
|
Loading…
Reference in New Issue
Block a user