diff options
author | Maria Matejka <mq@ucw.cz> | 2022-09-20 09:14:39 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-20 09:14:39 +0200 |
commit | 28427a68c32d5684652dd22400a9143722294886 (patch) | |
tree | 874b81f35a54974ca79479e124f12fa04d143592 /proto/bfd | |
parent | 29712c691d4f2cadb6517e3759bdf5e60b1fb4d9 (diff) | |
parent | adf37d8eff8f281871295c402a51ae1dd654851c (diff) |
Merge commit 'adf37d8e' into thread-next
Diffstat (limited to 'proto/bfd')
-rw-r--r-- | proto/bfd/bfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bfd/bfd.c b/proto/bfd/bfd.c index 331ba730..cad70b41 100644 --- a/proto/bfd/bfd.c +++ b/proto/bfd/bfd.c @@ -666,7 +666,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) |