summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-09-29 17:59:50 +0200
committerMaria Matejka <mq@ucw.cz>2021-11-22 19:05:44 +0100
commit18f66055e3f7eec2108e18679652aee47f5de6b2 (patch)
treec2195765f7444c838e48a5827bf20b7d406f8ab0 /proto/bgp
parent038fcf1c8b7716415235384de5dc47d07dc45b85 (diff)
Global table update pool removed
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/packets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index d2d5b174..ea9adb4c 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -971,7 +971,7 @@ bgp_apply_next_hop(struct bgp_parse_state *s, rta *a, ip_addr gw, ip_addr ll)
s->hostentry = rt_get_hostentry(tab, gw, ll, c->c.table);
if (!s->mpls)
- rta_apply_hostentry(a, s->hostentry, NULL);
+ rta_apply_hostentry(a, s->hostentry, NULL, s->pool);
/* With MPLS, hostentry is applied later in bgp_apply_mpls_labels() */
}
@@ -1005,7 +1005,7 @@ bgp_apply_mpls_labels(struct bgp_parse_state *s, rta *a, u32 *labels, uint lnum)
ms.len = lnum;
memcpy(ms.stack, labels, 4*lnum);
- rta_apply_hostentry(a, s->hostentry, &ms);
+ rta_apply_hostentry(a, s->hostentry, &ms, s->pool);
}
}