summaryrefslogtreecommitdiff
path: root/bgpd/bgp_ecommunity.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-08-31 23:00:26 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-09-04 21:54:47 +0300
commit324e8b1f79ccd00f75cdb8ba95ba0c0ee5e82b4d (patch)
tree8bdf9184e44c469d672a0e2864fa7ae931f05b40 /bgpd/bgp_ecommunity.h
parent7b27cf7bbdf24521ddb780298d998a167226c684 (diff)
bgpd: Handle Origin Validation State extended community via route-map match
Add an ability to match via route-maps. An additional route-map command `match rpki-extcommunity <invalid|notfound|valid>` added. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_ecommunity.h')
-rw-r--r--bgpd/bgp_ecommunity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_ecommunity.h b/bgpd/bgp_ecommunity.h
index 3d8ef947d5..4d7d4234a2 100644
--- a/bgpd/bgp_ecommunity.h
+++ b/bgpd/bgp_ecommunity.h
@@ -104,10 +104,10 @@
/* Extended Community Origin Validation State */
enum ecommunity_origin_validation_states {
- ECOMMUNITY_ORIGIN_VALIDATION_STATE_NOTUSED = -1,
ECOMMUNITY_ORIGIN_VALIDATION_STATE_VALID,
ECOMMUNITY_ORIGIN_VALIDATION_STATE_NOTFOUND,
- ECOMMUNITY_ORIGIN_VALIDATION_STATE_INVALID
+ ECOMMUNITY_ORIGIN_VALIDATION_STATE_INVALID,
+ ECOMMUNITY_ORIGIN_VALIDATION_STATE_NOTUSED
};
/* Extended Communities type flag. */