summaryrefslogtreecommitdiffstats
path: root/proto/bgp
diff options
context:
space:
mode:
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/packets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index d6c2169..6fabacf 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -557,8 +557,6 @@ bgp_do_rx_update(struct bgp_conn *conn,
DO_NLRI(mp_reach)
{
- ea_list *e = lp_alloc(bgp_linpool, sizeof(ea_list) + sizeof(eattr));
- struct adata *ad = lp_alloc(bgp_linpool, sizeof(struct adata) + 16);
int i;
/* Create fake NEXT_HOP attribute */