diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2016-04-04 16:17:11 +0200 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2016-04-07 10:08:23 +0200 |
commit | 4bdf1881dc6230b742d7efcaad8eeac4ed25f445 (patch) | |
tree | b6902c8eeef29ee1d0a95d64bdbf5fc7e3ce26fe /nest/rt-table.c | |
parent | 0c8c8151fc1fb0dbfcd682153f50192ea1369884 (diff) |
Channelize: rt_notify arg conversion table -> channel
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 2c9c6e3a..03ab3b92 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -481,18 +481,18 @@ do_rt_notify(struct channel *c, net *net, rte *new, rte *old, ea_list *tmpa, int rte_trace_out(D_ROUTES, p, old, "removed"); } if (!new) - p->rt_notify(p, c->table, net, NULL, old, NULL); + p->rt_notify(p, c, net, NULL, old, NULL); else if (tmpa) { ea_list *t = tmpa; while (t->next) t = t->next; t->next = new->attrs->eattrs; - p->rt_notify(p, c->table, net, new, old, tmpa); + p->rt_notify(p, c, net, new, old, tmpa); t->next = NULL; } else - p->rt_notify(p, c->table, net, new, old, new->attrs->eattrs); + p->rt_notify(p, c, net, new, old, new->attrs->eattrs); } static void @@ -552,7 +552,7 @@ rt_notify_basic(struct channel *c, net *net, rte *new0, rte *old0, int refeed) #ifdef CONFIG_PIPE if ((p->proto == &proto_pipe) && !new0 && (p != old0->sender->proto)) - p->rt_notify(p, c->table, net, NULL, old0, NULL); + p->rt_notify(p, c, net, NULL, old0, NULL); #endif return; |