diff options
author | Paul Jakma <paul.jakma@hpe.com> | 2016-02-05 14:57:17 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@hpe.com> | 2016-02-26 14:11:48 +0000 |
commit | c49a2747f6a6199dba27c0c413f4de6112fa649e (patch) | |
tree | 27bc97363bf8e3f25535f39c030e6da7b37e4a0e /lib/distribute.h | |
parent | e98dce60cea213a4155a0db60b463e40c67aa77f (diff) | |
download | quagga-c49a2747f6a6199dba27c0c413f4de6112fa649e.tar.bz2 quagga-c49a2747f6a6199dba27c0c413f4de6112fa649e.tar.xz |
bgpd: make bgp_nlri_parse_encap conform with other nlri_parse funcs
* bgp_encap.{c,h} (bgp_nlri_parse_encap) afi is already in the NLRI argument.
update or withdraw is signalled by attr being non-NULL or NULL.
* bgp_packet.c: (update_receive) fixup to match, and also make the attr
argument conform with NLRI_ATTR_ARG for correct error handling on
optional, transitive, partial, attributes.
Diffstat (limited to 'lib/distribute.h')
0 files changed, 0 insertions, 0 deletions