From 4334f86251429eb39bfe81ff19496d141fccef84 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 15 Nov 2021 10:53:58 +0100 Subject: VRF setting reduced to one argument, using default dummy iface for default vrf --- proto/bfd/bfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/bfd/bfd.c') 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) -- cgit v1.2.3