summaryrefslogtreecommitdiff
path: root/proto/bgp/attrs.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/bgp/attrs.c
parent5be34f5ab4aa0c8852db6bf19cad5e81f46640e3 (diff)
parentd429bc5c841a8e9d4c81786973edfa56d20a407e (diff)
Merge commit 'd429bc5c841a8e9d4c81786973edfa56d20a407e' into thread-next
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r--proto/bgp/attrs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 28eb6fee..1ca77fd5 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -1929,10 +1929,10 @@ bgp_setup_out_table(struct bgp_channel *c)
*/
int
-bgp_preexport(struct channel *c, rte *e)
+bgp_preexport(struct channel *C, rte *e)
{
struct proto *SRC = e->src->proto;
- struct bgp_proto *p = (struct bgp_proto *) (c->proto);
+ struct bgp_proto *p = (struct bgp_proto *) C->proto;
struct bgp_proto *src = (SRC->proto == &proto_bgp) ? (struct bgp_proto *) SRC : NULL;
/* Reject our routes */