diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-24 13:20:43 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-10-17 18:27:44 +0400 |
commit | e531d4a662749fdd2a2f83f16e0b1cd252b23ea1 (patch) | |
tree | 7c67d7fa031219777feb9caf85821eca27006e4f /zebra/connected.h | |
parent | 19e7654a293cd76854eb5cf98707826efb639326 (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 'zebra/connected.h')
0 files changed, 0 insertions, 0 deletions