Revision fe9f1a6d nest/rt-dev.c

View differences:

nest/rt-dev.c
45 45
      net *n;
46 46

  
47 47
      DBG("dev_if_notify: %s:%I going down\n", ad->iface->name, ad->ip);
48
      n = net_find(p->table, ad->prefix, ad->pxlen);
48
      n = net_find_ipa(p->table, ad->prefix, ad->pxlen);
49 49
      if (!n)
50 50
	{
51 51
	  DBG("dev_if_notify: device shutdown: prefix not found\n");
......
77 77
      };
78 78

  
79 79
      a = rta_lookup(&a0);
80
      n = net_get(p->table, ad->prefix, ad->pxlen);
80
      n = net_get_ipa(p->table, ad->prefix, ad->pxlen);
81 81
      e = rte_get_temp(a);
82 82
      e->net = n;
83 83
      e->pflags = 0;

Also available in: Unified diff