commit | d0aa6e8b222f44949b0a190d8ff70d90333b775c | [log] [tgz] |
---|---|---|
author | Daniel Walton <dwalton@cumulusnetworks.com> | Fri Jun 17 14:45:42 2016 +0100 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Sep 13 10:36:46 2016 +0100 |
tree | 023b3155124dbd19260e0886e1582da65889ec5e | |
parent | 5552da8f9abd786fb76019135277003f489626d6 [diff] |
bgpd: Make aspath_highest 4-byte compatible for private AS * bgp_aspath.h: Add BGP_AS_IS_PRIVATE macro. * bgp_aspath.c: (aspath_highest) use said macro to also ensure 4-byte private AS range is ignored in calculating highest public ASN. (aspath_private_as_check) consolidate to use said macro. Note: Extracted from 'bgpd: Add replace-as option to remove-private-as' by paul@jakma.org.