diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-02 11:22:32 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-03-02 12:13:49 +0100 |
commit | 06ece3265e222f218224bb394c250cb414e44ab4 (patch) | |
tree | 5b2e4157644f43ce96a5ea3b539a976c93261e60 /proto/bgp/packets.c | |
parent | d814a8cb9381e8cb22c3f37d3c970ca7972656a6 (diff) |
Replacing BGP temporary linpools by the common temporary linpool
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r-- | proto/bgp/packets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index f13625e2..875808fb 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -2335,7 +2335,7 @@ again: ; struct bgp_write_state s = { .proto = p, .channel = c, - .pool = bgp_linpool, + .pool = tmp_linpool, .mp_reach = (c->afi != BGP_AF_IPV4) || c->ext_next_hop, .as4_session = p->as4_session, .add_path = c->add_path_tx, @@ -2518,7 +2518,7 @@ bgp_rx_update(struct bgp_conn *conn, byte *pkt, uint len) /* Initialize parse state */ struct bgp_parse_state s = { .proto = p, - .pool = bgp_linpool, + .pool = tmp_linpool, .as4_session = p->as4_session, }; |