summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-07-25 13:55:24 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-07-25 13:55:24 +0200
commitac5745134847c044b21c311e5ab11d92d05bacc1 (patch)
tree09c71d561a10c30a63a91ca580700136a3314179 /proto/bgp/bgp.h
parent508d936078aecc8fbbb9ca1218104599c4a3cb4a (diff)
Implements RFC 6608 Subcodes for BGP FSM Error.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 13c7fd80..77a36715 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -254,6 +254,8 @@ void bgp_log_error(struct bgp_proto *p, u8 class, char *msg, unsigned code, unsi
#define BS_ESTABLISHED 5
#define BS_CLOSE 6 /* Used during transition to BS_IDLE */
+#define BS_MAX 7
+
/* BGP start states
*
* Used in PS_START for fine-grained specification of starting state.