From f7bb830439fe41efe2401ae84c63d865dee5ccf8 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 14 Jun 2019 15:16:31 +0200 Subject: [PATCH] bfdd: authorise multihop and interface setting the restriction to authorise multihop and interface setting has no meaning here. Signed-off-by: Philippe Guibert --- bfdd/bfdd_vty.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c index 130c117365..c3ca7a43f1 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)) {