From 4f1a6d27b9a44f61329bc7b6779a0c645362e181 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 17 May 1999 20:16:53 +0000 Subject: Kill remaining master_table relics in KRT code. Make all protocols pass routing table to rte_update and rte_discard. --- nest/rt-dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nest/rt-dev.c') diff --git a/nest/rt-dev.c b/nest/rt-dev.c index 1225f1d7..63548fc7 100644 --- a/nest/rt-dev.c +++ b/nest/rt-dev.c @@ -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); } } -- cgit v1.2.3