]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_attr.c
[bgpd] minor changes to bgp_mp_reach_parse
authorPaul Jakma <paul.jakma@sun.com>
Sat, 7 Jun 2008 20:37:10 +0000 (20:37 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Sat, 7 Jun 2008 20:37:10 +0000 (20:37 +0000)
commit032928091c558d3b0940be079049009f47652711
tree81bd1c2ddfbf41f380bfd38370e42d3c646f5e08
parent343f720b345dd377bdf4f53e3b02e0c2898f3f0b
[bgpd] minor changes to bgp_mp_reach_parse

2008-06-07 Paul Jakma <paul@jakma.org>

* bgp_attr.{c,h}: (bgp_mp_{un,}reach_parse) export, for unit tests.
* bgp_attr.c: (bgp_mp_reach_parse) Add logging. Tighten length test
  to bounds check against the attribute length rather than the
  stream length..
bgpd/ChangeLog
bgpd/bgp_attr.c
bgpd/bgp_attr.h