summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2018-08-01 20:24:52 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2018-08-08 23:25:08 +0200
commit64dc4b2d7a810566f898c2f7a8d4264f1c341904 (patch)
treea4263f2fd4ad3c09d63715919c7dee9f63da25be /ospf6d
parentbfdd: fix IPv6 peers using link-local address (diff)
downloadfrr-64dc4b2d7a810566f898c2f7a8d4264f1c341904.tar.xz
frr-64dc4b2d7a810566f898c2f7a8d4264f1c341904.zip
bgpd/ospf(6)d/pimd: hide BFD commands with timers
Don't show BFD commands with timers since it might confuse users ("show running-config" won't display timers in client daemons anymore), but keep accepting this command from previous configurations. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_bfd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ospf6d/ospf6_bfd.c b/ospf6d/ospf6_bfd.c
index 308229c68..e7284a665 100644
--- a/ospf6d/ospf6_bfd.c
+++ b/ospf6d/ospf6_bfd.c
@@ -333,7 +333,12 @@ DEFUN (ipv6_ospf6_bfd,
return CMD_SUCCESS;
}
-DEFUN (ipv6_ospf6_bfd_param,
+#if HAVE_BFDD > 0
+DEFUN_HIDDEN(
+#else
+DEFUN(
+#endif /* HAVE_BFDD */
+ ipv6_ospf6_bfd_param,
ipv6_ospf6_bfd_param_cmd,
"ipv6 ospf6 bfd (2-255) (50-60000) (50-60000)",
IP6_STR