summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-05-01 16:01:38 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-05-01 16:01:38 +0300
commit714e5be9a0804c0da2c9429bead274bbaefc9939 (patch)
tree7ce4cefa7a8db502e8e903aaf1e1f410cc6d675e /lib/json.h
parent48f5d828e3ed00bce92e5f916acf19304d0bf647 (diff)
bgpd: Ignore validating the attribute flags if path-attribute is configured
E.g. Cisco sends AIGP attribute as transitive, but it's wrong. Hence, the session is teared down, because of this bgp_attr_flag_invalid() test. Relax this check if we have `neighbor X path-attribute <discard|treat-as-withdraw>` configured. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/json.h')
0 files changed, 0 insertions, 0 deletions