diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-06-14 15:16:31 +0200 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-06-22 10:10:56 -0300 |
| commit | f7bb830439fe41efe2401ae84c63d865dee5ccf8 (patch) | |
| tree | f11f4c07ce852ecc5c92e54ef605790518752a4d | |
| parent | 7818c5fba052c0c2fdfaa2620404178167e9c103 (diff) | |
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.c | 6 |
1 files changed, 0 insertions, 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)) { |
