summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-08-06 02:42:24 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2012-08-06 02:42:24 +0200
commit5400c0e7f982757418a0aeb892459b52fbbcffc3 (patch)
tree631b0cab2fec49a55c4813bb394aed202d21ef10 /proto
parentbbcfd5a0485a8df9568d8da0fc524e272e3e7601 (diff)
Fixes BGP subcode during global shutdown.
Diffstat (limited to 'proto')
-rw-r--r--proto/bgp/bgp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 0b52dedc..dbc59eea 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -870,6 +870,7 @@ bgp_shutdown(struct proto *P)
break;
case PDC_CMD_DISABLE:
+ case PDC_CMD_SHUTDOWN:
subcode = 2; // Errcode 6, 2 - administrative shutdown
break;