mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 05:27:47 +00:00
Merge pull request #11032 from anlancs/fix/bgpd-evpn-mh-null-debug
bgpd: fix NULL deference in evpn-mh's log
This commit is contained in:
commit
4079cda2e6
@ -385,9 +385,9 @@ int bgp_evpn_mh_route_update(struct bgp *bgp, struct bgp_evpn_es *es,
|
|||||||
if (remote_pi) {
|
if (remote_pi) {
|
||||||
flog_err(
|
flog_err(
|
||||||
EC_BGP_ES_INVALID,
|
EC_BGP_ES_INVALID,
|
||||||
"%u ERROR: local es route for ESI: %s Vtep %pI4 also learnt from remote",
|
"%u ERROR: local es route for ESI: %s vtep %pI4 also learnt from remote",
|
||||||
bgp->vrf_id, es ? es->esi_str : "Null",
|
bgp->vrf_id, es ? es->esi_str : "Null",
|
||||||
&es->originator_ip);
|
es ? &es->originator_ip : NULL);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user