summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-20 18:46:07 -0400
committerGitHub <noreply@github.com>2019-05-20 18:46:07 -0400
commitaafff532042cf30c3ae77c65804d8bbd846ca99a (patch)
tree8c69bbfe72bfff066bfcb9cb77d67702b91f1e3b
parent98356f4b92437683fde61a9695dab9eb16f6bc2e (diff)
parenta74879b20e05b1e6248189da0053a7095a866524 (diff)
Merge pull request #4372 from opensourcerouting/bgp-reason-warning
bgpd: fix compiler warning in reason2str
-rw-r--r--bgpd/bgp_route.c1
1 files changed, 1 insertions, 0 deletions
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,