summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-08-09 00:34:39 +0200
committerGitHub <noreply@github.com>2022-08-09 00:34:39 +0200
commit82dd2fe72e94b8f9d48c25f10c2593edcbf10aba (patch)
treee6070a53cef56269ddc583bb2a9d14beeea17c93
parentMerge pull request #11501 from donaldsharp/mpls_turns_on (diff)
parentbgpd: When specifying listen address for bgpd we shouldn't imply no fib flag (diff)
downloadfrr-82dd2fe72e94b8f9d48c25f10c2593edcbf10aba.tar.xz
frr-82dd2fe72e94b8f9d48c25f10c2593edcbf10aba.zip
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 d9b0fab51..1297eb440 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;