mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:34:51 +00:00
Merge pull request #1187 from qlyoung/fix-evpn-buf-uninit
bgpd: fix uninitialized value in show cmd
This commit is contained in:
commit
5e9c9f7484
@ -2287,6 +2287,8 @@ char *bgp_evpn_route2str(struct prefix_evpn *p, char *buf, int len)
|
||||
}
|
||||
} else {
|
||||
/* For EVPN route types not supported yet. */
|
||||
snprintf(buf, len, "(unsupported route type %d)",
|
||||
p->prefix.route_type);
|
||||
}
|
||||
|
||||
return (buf);
|
||||
|
Loading…
Reference in New Issue
Block a user