summaryrefslogtreecommitdiff
path: root/bgpd/bgp_aspath.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-09-24 13:20:43 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-10-17 18:27:44 +0400
commite531d4a662749fdd2a2f83f16e0b1cd252b23ea1 (patch)
tree7c67d7fa031219777feb9caf85821eca27006e4f /bgpd/bgp_aspath.c
parent19e7654a293cd76854eb5cf98707826efb639326 (diff)
bgpd: add missing "partial" flag checks (BZ#676)
ORIGIN handling function used to have "partial" bit check and recent commits added it for NEXT_HOP, MULTI_EXIT_DISC and ATOMIC_AGGREGATE cases. This commit adds "partial" check for AS_PATH and LOCAL_PREF cases, which should leave attributes 1 through 6 inclusive completely covered with attribute flags checks. * bgp_attr.c * bgp_attr_origin(): use bit-by-bit checks for better diagnostics * bgp_attr_aspath(): add flag check * bgp_attr_local_pref(): idem
Diffstat (limited to 'bgpd/bgp_aspath.c')
0 files changed, 0 insertions, 0 deletions