diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-01 01:21:37 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-01 01:21:37 +0200 |
commit | c00d31befab5a7e932231f7a8050547c72c94631 (patch) | |
tree | 7695b995629f05e35fb04311a626a2866d4e9a02 /proto/bgp/bgp.c | |
parent | 08732b71784b640aebbea88d4452f4c5987d0a09 (diff) | |
download | bird-c00d31befab5a7e932231f7a8050547c72c94631.tar bird-c00d31befab5a7e932231f7a8050547c72c94631.zip |
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 e415756..e95e334 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); } } |