commit | 3ecab4c8549574d09f8d8366098939a8ad3da6c4 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul@quagga.net> | Tue Jan 17 13:31:33 2012 +0000 |
committer | Paul Jakma <paul@quagga.net> | Tue Feb 28 18:35:45 2012 +0000 |
tree | 7b8281980887ef0c57485be0ca6f382c054762cd | |
parent | b5043aabb03567b46a16463d88a8afce2acda35e [diff] |
bgpd: consolidate attribute flag checks * bgpd/bgp_attr.c: (attr_flags_values []) array of required flags for attributes, EXTLEN & PARTIAL masked off as "dont care" as appropriate. (bgp_attr_flag_invalid) check if flags may be invalid, according to the above table & RFC rules. (bgp_attr_*) Use bgp_attr_flag_invalid. (bgp_attr_as4_aggregator) ditto, also take startp argument for the NOTIFY data. (bgp_attr_parse) pass startp to bgp_attr_as4_aggregator