diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:37:25 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:37:25 +0100 |
commit | df96a5e1a067cbcf9c73f4c76700ff48019fde7b (patch) | |
tree | d782c6cfa88d6aa0ed0020a61ad29225796f5dfd /proto/bgp/packets.c | |
parent | 2e07c7615ab27d647d1f7b1e3b93b19f53b40dac (diff) | |
parent | 21213be523baa7f2cbf0feaa617f265c55e9b17a (diff) |
Merge commit '21213be5' into wireguard-next-tmp7-1
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r-- | proto/bgp/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index fd7828f0..054e6c3c 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -2499,7 +2499,7 @@ bgp_bmp_encode_rte(struct bgp_channel *c, byte *buf, const net_addr *n, /* Sham prefix */ struct bgp_prefix *px = alloca(prefix_size); *px = (struct bgp_prefix) { }; - px->path_id = src->private_id; + px->path_id = (u32) src->private_id; net_copy(px->net, n); add_tail(&b->prefixes, &px->buck_node); |