]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: fix compiler warning in reason2str 4372/head
authorDavid Lamparter <equinox@diac24.net>
Mon, 20 May 2019 21:45:34 +0000 (23:45 +0200)
committerDavid Lamparter <equinox@diac24.net>
Mon, 20 May 2019 21:45:34 +0000 (23:45 +0200)
Signed-off-by: David Lamparter <equinox@diac24.net>
bgpd/bgp_route.c

index 4f89c8b5f728eca8ff2f3ca412e08afcbae47fb8..d526afd77bfa46e832e2616959e20c0f8680ecea 100644 (file)
@@ -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,