summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-08-05 10:31:40 +0200
committerMaria Matejka <mq@ucw.cz>2022-08-05 10:31:40 +0200
commit3ed6d0be93e79e8eb1867749e11e062f5cfe3f5c (patch)
tree2ad9575591038e7eba1b75f0467fb77b3393c4e0 /proto/bgp
parent12ae5d1b6bc7a115cfbc7549c6e5ab55a9fa349a (diff)
parent2e484f8d2977186f6d97213827a66847738d2c31 (diff)
Merge commit '2e484f8d' into thread-next
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 91487fae..2543ee73 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -2001,9 +2001,9 @@ bgp_setup_out_table(struct bgp_channel *c)
int
bgp_preexport(struct channel *C, rte *e)
{
- struct bgp_channel *c = (struct bgp_channel *) C;
struct bgp_proto *p = (struct bgp_proto *) C->proto;
struct bgp_proto *src = bgp_rte_proto(e);
+ struct bgp_channel *c = (struct bgp_channel *) C;
/* Reject our routes */
if (src == p)