summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.c
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/ospf/ospf.c
parent5be34f5ab4aa0c8852db6bf19cad5e81f46640e3 (diff)
parentd429bc5c841a8e9d4c81786973edfa56d20a407e (diff)
Merge commit 'd429bc5c841a8e9d4c81786973edfa56d20a407e' into thread-next
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 6a4ee8ab..9c25f0f0 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -486,13 +486,13 @@ ospf_disp(timer * timer)
* import to the filters.
*/
static int
-ospf_preexport(struct channel *c, rte *e)
+ospf_preexport(struct channel *C, rte *e)
{
- struct ospf_proto *p = (struct ospf_proto *) c->proto;
+ struct ospf_proto *p = (struct ospf_proto *) C->proto;
struct ospf_area *oa = ospf_main_area(p);
/* Reject our own routes */
- if (e->src->proto == c->proto)
+ if (e->src->proto == &p->p)
return -1;
/* Do not export routes to stub areas */