]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - nest/iface.c
Nest: VRF of protocol can be explicitly specified as 'default'
[thirdparty/bird.git] / nest / iface.c
index c1966ac65f59ad4f28822c62a437cfd3ac3b54e4..00dfc2ca305faaeebf58e9d3c08f0f3e899fa258 100644 (file)
@@ -147,7 +147,7 @@ ifa_send_notify(struct proto *p, unsigned c, struct ifa *a)
 {
   if (p->ifa_notify &&
       (p->proto_state != PS_DOWN) &&
-      (!p->vrf || p->vrf == a->iface->master))
+      (!p->vrf_set || p->vrf == a->iface->master))
     {
       if (p->debug & D_IFACES)
        log(L_TRACE "%s < address %N on interface %s %s",
@@ -185,7 +185,7 @@ if_send_notify(struct proto *p, unsigned c, struct iface *i)
 {
   if (p->if_notify &&
       (p->proto_state != PS_DOWN) &&
-      (!p->vrf || p->vrf == i->master))
+      (!p->vrf_set || p->vrf == i->master))
     {
       if (p->debug & D_IFACES)
        log(L_TRACE "%s < interface %s %s", p->name, i->name,