diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-31 23:21:37 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-31 23:21:37 +0000 |
commit | c00d31befab5a7e932231f7a8050547c72c94631 (patch) | |
tree | 7695b995629f05e35fb04311a626a2866d4e9a02 /proto/bgp/bgp.c | |
parent | 08732b71784b640aebbea88d4452f4c5987d0a09 (diff) |
Parsing of BGP attributes.
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r-- | proto/bgp/bgp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index e4157565..e95e3344 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -96,6 +96,8 @@ bgp_close_conn(struct bgp_conn *conn) { bgp_close(p); p->conn = NULL; + if (conn->error_flag) /* FIXME: Enable automatically? */ + p->p.disabled = 1; proto_notify_state(&p->p, PS_DOWN); } } |