Diff for /embedaddon/bird/nest/neighbor.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2017/08/22 12:33:54 version 1.1.1.2, 2021/03/17 19:50:23
Line 30 Line 30
  * when the protocol has explicitly requested it via the %NEF_STICKY   * when the protocol has explicitly requested it via the %NEF_STICKY
  * flag because it wishes to be notified when the node will again become   * flag because it wishes to be notified when the node will again become
  * a neighbor. Such entries are enqueued in a special list which is walked   * a neighbor. Such entries are enqueued in a special list which is walked
 * whenever an interface changes its state to up. * whenever an interface changes its state to up. Neighbor entry VRF
  * association is implied by respective protocol.
  *   *
  * When a neighbor event occurs (a neighbor gets disconnected or a sticky   * When a neighbor event occurs (a neighbor gets disconnected or a sticky
  * inactive neighbor becomes connected), the protocol hook neigh_notify()   * inactive neighbor becomes connected), the protocol hook neigh_notify()
Line 152  neigh_find2(struct proto *p, ip_addr *a, struct iface  Line 153  neigh_find2(struct proto *p, ip_addr *a, struct iface 
     }      }
   else    else
     WALK_LIST(i, iface_list)      WALK_LIST(i, iface_list)
      if ((scope = if_connected(a, i, &addr)) >= 0)      if ((!p->vrf_set || p->vrf == i->master) &&
        {          ((scope = if_connected(a, i, &addr)) >= 0))
         {
           ifa = i;            ifa = i;
           break;            break;
         }          }

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>