diff options
| author | Paul Jakma <paul.jakma@hpe.com> | 2015-11-25 17:14:35 +0000 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2016-06-06 12:09:57 -0700 |
| commit | 695ef95fd7d5d8e48e2406092a2f52c8c9c784f3 (patch) | |
| tree | 8914488f7ece0e1770deafb450bf53e2ad8642a7 /lib/command.c | |
| parent | 48abfbeb3bb26cedcca03688d7539faa0175e324 (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>
(cherry picked from commit 4078f2eb7a3a94ddb30cfd8b76b054e790aab524)
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
