summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-08-08 18:34:39 -0400
committerGitHub <noreply@github.com>2022-08-08 18:34:39 -0400
commit82dd2fe72e94b8f9d48c25f10c2593edcbf10aba (patch)
treee6070a53cef56269ddc583bb2a9d14beeea17c93
parent8d60d4da501d015ab645d8546c429990d7ecb033 (diff)
parent6595c22971cd06205a2512de2f6aa96ef0af6509 (diff)
Merge pull request #11769 from opensourcerouting/fix/no_rib_implied
bgpd: When specifying listen address for bgpd we shouldn't imply no fib flag
-rw-r--r--bgpd/bgp_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index d9b0fab518..1297eb440e 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -454,8 +454,7 @@ int main(int argc, char **argv)
}
case 'l':
listnode_add_sort_nodup(addresses, optarg);
- /* listenon implies -n */
- /* fallthru */
+ break;
case 'n':
no_fib_flag = 1;
break;