Merge pull request #1187 from qlyoung/fix-evpn-buf-uninit

bgpd: fix uninitialized value in show cmd
This commit is contained in:
Renato Westphal 2017-09-16 20:58:30 -03:00 committed by GitHub
commit 5e9c9f7484

View File

@ -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);