summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-05-31 11:35:29 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-05-31 11:35:29 +0200
commita34b09349e809a6d8f696fb0897c0bfdc3b66159 (patch)
tree97a09bd8adc208676e466c7dacbaf21fbcf2f0f4 /proto/bgp/bgp.h
parent9b061f7ea5933f70c200bb3b3a7be5a2e472e805 (diff)
downloadbird-a34b09349e809a6d8f696fb0897c0bfdc3b66159.tar
bird-a34b09349e809a6d8f696fb0897c0bfdc3b66159.zip
Disable BGP protocol when cannot open listening socket.
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 39a87a6..c81fe62 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -275,6 +275,7 @@ void bgp_log_error(struct bgp_proto *p, u8 class, char *msg, unsigned code, unsi
#define BEM_NEIGHBOR_LOST 1
#define BEM_INVALID_NEXT_HOP 2
#define BEM_INVALID_MD5 3 /* MD5 authentication kernel request failed (possibly not supported) */
+#define BEM_NO_SOCKET 4
/* Automatic shutdown error codes */