]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Fix handling of 16bit-only ASN translation
authorNasato Goto <goto@mfeed.ad.jp>
Wed, 15 Apr 2020 01:46:53 +0000 (03:46 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 15 Apr 2020 01:46:53 +0000 (03:46 +0200)
commita6548d5b5be1d0186dfab43b76790803f8c8625e
tree19362cce5fbe5ad84ad764ca1ce2a6e1be804f3a
parentfd9f0c0640fd02a26b96b4f9d3cbbffbb6544a84
BGP: Fix handling of 16bit-only ASN translation

The bug generated invalid AGGREGATOR attribute during translation of
32bit ASN to 16bit-only BGP peer. The patch fixes that.
nest/attrs.h
proto/bgp/attrs.c