Print ASnumbers in asplain format and stop using the old asdot format.
authorclaudio <claudio@openbsd.org>
Wed, 25 May 2022 16:21:11 +0000 (16:21 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 25 May 2022 16:21:11 +0000 (16:21 +0000)
commit4590782ec2317c4468e2b0948259d7aaa3459fb8
treec643871291c295efb25ecda46bfc56e7f5e088d5
parentf8162053bbbf81aa3afe714149ea18b65c6a9a5f
Print ASnumbers in asplain format and stop using the old asdot format.
While there clean up some draft comments with their RFC number.
The detection for 4-byte ASPATH attributes is a bit sloppy but since
all resonable BGP versions use 4-byte ASnumbers now we default to them
unless we know it is a 2-byte encoding.
Kill it with fire. deraadt@ & job@ OK sthen@
usr.sbin/tcpdump/print-bgp.c