commit | bd471fea4ec965c71d6c2201745995092fbc36f6 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul@quagga.net> | Thu Mar 15 11:30:00 2012 +0000 |
committer | Paul Jakma <paul@quagga.net> | Sun Mar 25 21:33:51 2012 +0100 |
tree | 1d07d21b35101724d98107d47f4cd214800b4489 | |
parent | 81c3e5006e5d29e305cbc0ab482617d7e570e8c0 [diff] |
bgpd: malformed attribute error that can still proceed should fixup getp * bgp_attr.c: (bgp_attr_malformed) When a malformed attribute error can be ignored, and BGP message processing may still proceed, the stream getp should be adjusted to the end of the attribute - the caller may not have consumed all the attribute. Problem noted by Martin Winter in bug 678. Also, rename the 'startp' local to 'notify_datap', for clarity.