From 6610affc19b60785f6da9f6efe9bf12cbb85c025 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 20 Nov 2025 14:35:02 +0100 Subject: [PATCH] BMP: Fix crash when exporting a route with non-bgp attributes Reported-By: Annika Hannig --- proto/bgp/packets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 4581e1f91..fcaff7459 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -2554,6 +2554,7 @@ bgp_create_update_bmp(struct bgp_channel *c, byte *buf, byte *end, struct bgp_bu .add_path = c->add_path_rx, .mpls = c->desc->mpls, .sham = 1, + .ignore_non_bgp_attrs = 1, }; if (!update) -- 2.47.3