summaryrefslogtreecommitdiff
path: root/bfdd/bfdd_vty.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-03-25 17:20:35 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-05-07 15:49:39 +0200
commit218afa3671382f60d8b62c286739afd6f77cd2c6 (patch)
tree2f8ea6bffa7392e62aedc410ae3f1f2256e5c8b5 /bfdd/bfdd_vty.c
parent4e6b48d3dbd067f633a5d3f8c5d5ef4cb58a03a0 (diff)
bfdd: permit to configure both iface and vrf
it is possible to configure both iface and vrfname. also, the appropriate vrf is used, in case an iface is given. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bfdd/bfdd_vty.c')
-rw-r--r--bfdd/bfdd_vty.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c
index 95b2dc2548..129894b691 100644
--- a/bfdd/bfdd_vty.c
+++ b/bfdd/bfdd_vty.c
@@ -126,11 +126,6 @@ DEFUN_NOSH(
if (argv_find(argv, argc, "vrf", &idx))
vrfname = argv[idx + 1]->arg;
- if (vrfname && ifname) {
- vty_out(vty, "%% VRF is not mixable with interface\n");
- return CMD_WARNING_CONFIG_FAILED;
- }
-
strtosa(peer, &psa);
if (local) {
strtosa(local, &lsa);