Revision 2c9033af

View differences:

nest/rt-table.c
1509 1509
      rta *a = n->routes->attrs;
1510 1510
      pxlen = n->n.pxlen;
1511 1511

  
1512
      if (a->dest == RTD_DEVICE)
1512
      if (a->hostentry)
1513
	{
1514
	  /* Recursive route should not depend on another recursive route */
1515
	  log(L_WARN "Next hop address %I resolvable through recursive route for %I/%d",
1516
	      he->addr, n->n.prefix, n->n.pxlen);
1517
	  he->iface = NULL;
1518
	  he->gw = IPA_NONE;
1519
	  he->dest = RTD_UNREACHABLE;
1520
	}
1521
      else if (a->dest == RTD_DEVICE)
1513 1522
	{
1514 1523
	  if (if_local_addr(he->addr, a->iface))
1515 1524
	    {

Also available in: Unified diff