1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Kill remaining master_table relics in KRT code.

Make all protocols pass routing table to rte_update and rte_discard.
This commit is contained in:
Martin Mares
1999-05-17 20:16:53 +00:00
parent 0e02abfd57
commit 4f1a6d27b9
6 changed files with 13 additions and 13 deletions

View File

@@ -36,7 +36,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad)
debug("dev_if_notify: device shutdown: prefix not found\n");
return;
}
rte_update(n, p, NULL);
rte_update(p->table, n, p, NULL);
}
else if (c & IF_CHANGE_UP)
{
@@ -61,7 +61,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad)
e = rte_get_temp(a);
e->net = n;
e->pflags = 0;
rte_update(n, p, e);
rte_update(p->table, n, p, e);
}
}