summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-06-14 15:16:31 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2019-06-22 15:10:56 +0200
commitf7bb830439fe41efe2401ae84c63d865dee5ccf8 (patch)
treef11f4c07ce852ecc5c92e54ef605790518752a4d
parentbfdd: add not '\n' to shutdown help string (diff)
downloadfrr-f7bb830439fe41efe2401ae84c63d865dee5ccf8.tar.xz
frr-f7bb830439fe41efe2401ae84c63d865dee5ccf8.zip
bfdd: authorise multihop and interface setting
the restriction to authorise multihop and interface setting has no meaning here. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
-rw-r--r--bfdd/bfdd_vty.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c
index 130c11736..c3ca7a43f 100644
--- a/bfdd/bfdd_vty.c
+++ b/bfdd/bfdd_vty.c
@@ -678,12 +678,6 @@ static int bfd_configure_peer(struct bfd_peer_cfg *bpc, bool mhop,
/* Handle interface specification configuration. */
if (ifname) {
- if (bpc->bpc_mhop) {
- snprintf(ebuf, ebuflen,
- "multihop doesn't accept interface names");
- return -1;
- }
-
bpc->bpc_has_localif = true;
if (strlcpy(bpc->bpc_localif, ifname, sizeof(bpc->bpc_localif))
> sizeof(bpc->bpc_localif)) {