summaryrefslogtreecommitdiff
path: root/proto/pipe
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-07-13 12:54:20 +0200
committerMaria Matejka <mq@ucw.cz>2022-07-13 12:54:20 +0200
commitaf0d5ec2797bab2a928fa8ce2caf81608a3f7443 (patch)
treeaa15fcaf811e5eb681d3f2d0e10c5e3ece666b08 /proto/pipe
parent5be34f5ab4aa0c8852db6bf19cad5e81f46640e3 (diff)
parentd429bc5c841a8e9d4c81786973edfa56d20a407e (diff)
Merge commit 'd429bc5c841a8e9d4c81786973edfa56d20a407e' into thread-next
Diffstat (limited to 'proto/pipe')
-rw-r--r--proto/pipe/pipe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c
index 351db36b..8af6de81 100644
--- a/proto/pipe/pipe.c
+++ b/proto/pipe/pipe.c
@@ -73,12 +73,12 @@ pipe_rt_notify(struct proto *P, struct channel *src_ch, const net_addr *n, rte *
}
static int
-pipe_preexport(struct channel *c, rte *e)
+pipe_preexport(struct channel *C, rte *e)
{
- struct pipe_proto *p = (void *) c->proto;
+ struct pipe_proto *p = (void *) C->proto;
/* Avoid direct loopbacks */
- if (e->sender == c->in_req.hook)
+ if (e->sender == C->in_req.hook)
return -1;
/* Indirection check */
@@ -86,8 +86,8 @@ pipe_preexport(struct channel *c, rte *e)
if (e->generation >= max_generation)
{
log_rl(&p->rl_gen, L_ERR "Route overpiped (%u hops of %u configured in %s) in table %s: %N %s/%u:%u",
- e->generation, max_generation, c->proto->name,
- c->table->name, e->net, e->src->proto->name, e->src->private_id, e->src->global_id);
+ e->generation, max_generation, C->proto->name,
+ C->table->name, e->net, e->src->proto->name, e->src->private_id, e->src->global_id);
return -1;
}