From a74879b20e05b1e6248189da0053a7095a866524 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Mon, 20 May 2019 23:45:34 +0200 Subject: [PATCH] bgpd: fix compiler warning in reason2str Signed-off-by: David Lamparter --- bgpd/bgp_route.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5