From: David Lamparter Date: Mon, 20 May 2019 21:45:34 +0000 (+0200) Subject: bgpd: fix compiler warning in reason2str X-Git-Tag: base_7.2~322^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a74879b20e05b1e6248189da0053a7095a866524;p=matthieu%2Ffrr.git bgpd: fix compiler warning in reason2str Signed-off-by: David Lamparter --- diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 4f89c8b5f7..d526afd77b 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -8005,6 +8005,7 @@ static const char *bgp_path_selection_reason2str( return "Nothing left to compare"; break; } + return "Invalid (internal error)"; } void route_vty_out_detail(struct vty *vty, struct bgp *bgp,