diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-24 13:20:43 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-30 10:30:36 +0400 |
commit | 214bcaa13e092d9fff8f233e62ba28ca7eefbc43 (patch) | |
tree | eb429544fd7d6727f35cd3fc24b6426a6d577eb3 /bgpd/.gitignore | |
parent | bc3443ebf032b5fcc9e0ccb94641e4e899cd17d8 (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
Conflicts:
bgpd/bgp_attr.c
Diffstat (limited to 'bgpd/.gitignore')
0 files changed, 0 insertions, 0 deletions