summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-16 19:17:04 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-16 19:17:04 +0100
commit63472779ad4ecdecbcfedf2d2bb40abc2f8c84b0 (patch)
tree8a166a8408dfa33f643860847397026de53b9d2c /proto/bgp/bgp.h
parentb94057911554e04df9b709f8354e2e220131096a (diff)
BGP: Implement 'disable after cease' option
The option allows to specify that some cease subcodes should disable the protocol when received.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 22a150ab..b3db8b7e 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -62,6 +62,7 @@ struct bgp_config {
unsigned error_delay_time_min; /* Time to wait after an error is detected */
unsigned error_delay_time_max;
unsigned disable_after_error; /* Disable the protocol when error is detected */
+ u32 disable_after_cease; /* Disable it when cease is received, bitfield */
char *password; /* Password used for MD5 authentication */
struct rtable_config *igp_table; /* Table used for recursive next hop lookups */