commit | c49a2747f6a6199dba27c0c413f4de6112fa649e | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@hpe.com> | Fri Feb 05 14:57:17 2016 +0000 |
committer | Paul Jakma <paul.jakma@hpe.com> | Fri Feb 26 14:11:48 2016 +0000 |
tree | 27bc97363bf8e3f25535f39c030e6da7b37e4a0e | |
parent | e98dce60cea213a4155a0db60b463e40c67aa77f [diff] |
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.