commit | 4078f2eb7a3a94ddb30cfd8b76b054e790aab524 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@hpe.com> | Wed Nov 25 17:14:35 2015 +0000 |
committer | Paul Jakma <paul.jakma@hpe.com> | Wed Feb 10 15:06:17 2016 +0000 |
tree | 3b9d32198d677be63a3587ad6f9ea06506437192 | |
parent | 68ec424eb8557f86d08fcb7ab3c5366cbf3eca0e [diff] |
bgpd: Check capability falls on right multiple of size, where possible. * bgp_open.c: (cap_modsizes) Table of multiple a capability's data size should fall on, if applicable. (bgp_capability_parse) Check the header lengthcap_modsizes should fall on. Inspiration from Cumulus bgpd-capability-cleanup.patch patch, with a slightly different approach. Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>