dump size in bgp_log_error()
Marco d'Itri
md at Linux.IT
Fri Dec 1 11:17:50 CET 2023
bgp_log_error() in proto/bgp/packets.c attempts to dump the message
received from the neighbor, in this case containing the BGP attribute
considered invalid:
bird[681]: PEERNAME: Received: Malformed AS_PATH: 40021a020600001b1b00008b0e00008b
but the hex dump is limited to 16 characters and this makes impossible
to know exactly what the neighbor is complaining about:
if (len > 16)
len = 16;
It makes sense to limit the size of log messages, but please make the
limit much higher because I am sure that we can all spare the space.
--
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20231201/ea3a47ef/attachment.sig>
More information about the Bird-users
mailing list