summaryrefslogtreecommitdiff
path: root/proto/bfd/bfd.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-11-15 10:53:58 +0100
committerMaria Matejka <mq@ucw.cz>2023-01-25 13:33:31 +0100
commit4334f86251429eb39bfe81ff19496d141fccef84 (patch)
tree2dce6e1833748b9b165ece7776afbcbb3fc7ddc3 /proto/bfd/bfd.c
parent72230d3ca37d34cafa0442c23f83121ae1fc41be (diff)
VRF setting reduced to one argument, using default dummy iface for default vrf
Diffstat (limited to 'proto/bfd/bfd.c')
-rw-r--r--proto/bfd/bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bfd/bfd.c b/proto/bfd/bfd.c
index 873e2ed5..69e42f3d 100644
--- a/proto/bfd/bfd.c
+++ b/proto/bfd/bfd.c
@@ -659,7 +659,7 @@ bfd_add_request(struct bfd_proto *p, struct bfd_request *req)
{
struct bfd_config *cf = (struct bfd_config *) (p->p.cf);
- if (p->p.vrf_set && (p->p.vrf != req->vrf))
+ if (p->p.vrf && (p->p.vrf != req->vrf))
return 0;
if (ipa_is_ip4(req->addr) ? !cf->accept_ipv4 : !cf->accept_ipv6)