summaryrefslogtreecommitdiff
path: root/proto/radv
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-07-11 10:41:17 +0200
committerMaria Matejka <mq@ucw.cz>2022-07-11 10:41:17 +0200
commitd429bc5c841a8e9d4c81786973edfa56d20a407e (patch)
tree3857e7791fa51588b5f0de16bf05b65754349067 /proto/radv
parent7e9cede1fd1878fb4c00e793bccd0ca6c18ad452 (diff)
parentbeb5f78ada79ac90f31f2c4923302c74d9ab38bf (diff)
Merge commit 'beb5f78a' into backport
Diffstat (limited to 'proto/radv')
-rw-r--r--proto/radv/radv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/radv/radv.c b/proto/radv/radv.c
index 7985997a..541c3986 100644
--- a/proto/radv/radv.c
+++ b/proto/radv/radv.c
@@ -391,10 +391,10 @@ radv_net_match_trigger(struct radv_config *cf, net *n)
}
int
-radv_preexport(struct proto *P, rte *new)
+radv_preexport(struct channel *C, rte *new)
{
// struct radv_proto *p = (struct radv_proto *) P;
- struct radv_config *cf = (struct radv_config *) (P->cf);
+ struct radv_config *cf = (struct radv_config *) (C->proto->cf);
if (radv_net_match_trigger(cf, new->net))
return RIC_PROCESS;
@@ -555,7 +555,7 @@ radv_check_active(struct radv_proto *p)
return 1;
struct channel *c = p->p.main_channel;
- return rt_examine(c->table, &cf->trigger, &p->p, c->out_filter);
+ return rt_examine(c->table, &cf->trigger, c, c->out_filter);
}
static void