summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-11-15 10:53:58 +0100
committerMaria Matejka <mq@ucw.cz>2021-11-22 19:05:44 +0100
commitadf37d8eff8f281871295c402a51ae1dd654851c (patch)
tree13eae50e7c81c071e4a1cfe3f78dc2e13134e511 /proto
parentdc160e11e1a9e4344bbee6fd0bc8aee229d7c540 (diff)
VRF setting reduced to one argument, using default dummy iface for default vrf
Diffstat (limited to 'proto')
-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 3964c267..dd3488d4 100644
--- a/proto/bfd/bfd.c
+++ b/proto/bfd/bfd.c
@@ -658,7 +658,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)