summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/netlink
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-05-17 22:16:53 +0200
committerMartin Mares <mj@ucw.cz>1999-05-17 22:16:53 +0200
commit4f1a6d27b9a44f61329bc7b6779a0c645362e181 (patch)
tree4c77601930c97a225f42aaf9ce5dcc378459d1ec /sysdep/linux/netlink
parent0e02abfd5770062768eeb4c75061b7d2f656489d (diff)
downloadbird-4f1a6d27b9a44f61329bc7b6779a0c645362e181.tar
bird-4f1a6d27b9a44f61329bc7b6779a0c645362e181.zip
Kill remaining master_table relics in KRT code.
Make all protocols pass routing table to rte_update and rte_discard.
Diffstat (limited to 'sysdep/linux/netlink')
-rw-r--r--sysdep/linux/netlink/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index 10eb27a..3daa6f8 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -594,7 +594,7 @@ nl_parse_route(struct krt_proto *p, struct nlmsghdr *h, int scan)
src = KRT_SRC_ALIEN;
}
- net = net_get(&master_table, dst, i->rtm_dst_len);
+ net = net_get(p->p.table, dst, i->rtm_dst_len);
ra.proto = &p->p;
ra.source = RTS_INHERIT;
ra.scope = SCOPE_UNIVERSE;