summaryrefslogtreecommitdiffstats
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-03-18 20:30:21 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-03-18 20:30:21 +0100
commit48d79d521cc13f11eafa129a4216512403b83115 (patch)
tree2df56fdb71c527f1f545f5f08ddae480a6ba2113 /nest/attrs.h
parenteb875dbbe1afaceaf3645384f2a35c98b4c5b5f6 (diff)
downloadbird-48d79d521cc13f11eafa129a4216512403b83115.tar
bird-48d79d521cc13f11eafa129a4216512403b83115.zip
Better handling of AS4 optional attribute errors
AS4 optional attribute errors were handled by session drop (according to BGP RFC). This patch implements error handling according to new BGP AS4 draft (*) - ignoring invalid AS4 optional attributes. (*) http://www.ietf.org/internet-drafts/draft-chen-rfc4893bis-02.txt
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index 6f0bc1f..c12ce81 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -13,6 +13,8 @@
#define AS_PATH_SET 1 /* Types of path segments */
#define AS_PATH_SEQUENCE 2
+#define AS_PATH_CONFED_SEQUENCE 3
+#define AS_PATH_CONFED_SET 4
#define AS_PATH_MAXLEN 10000