]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: malformed attribute error that can still proceed should fixup getp
authorPaul Jakma <paul@quagga.net>
Thu, 15 Mar 2012 11:30:00 +0000 (11:30 +0000)
committerPaul Jakma <paul@quagga.net>
Sun, 25 Mar 2012 20:33:51 +0000 (21:33 +0100)
commitbd471fea4ec965c71d6c2201745995092fbc36f6
tree1d07d21b35101724d98107d47f4cd214800b4489
parent81c3e5006e5d29e305cbc0ab482617d7e570e8c0
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.
bgpd/bgp_attr.c