aboutsummaryrefslogtreecommitdiffstats
path: root/src/msc_conn.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-07 02:40:35 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-07 02:40:35 +0800
commite33d93c3666b941b39bf288f3888fccdbb28964c (patch)
tree4f39d6bcec8cf451570ca0f0bf5dd20b0e07d3a5 /src/msc_conn.c
parent0c95c6ac93dfb3245d9fa40eb7958f2b4a84c0ab (diff)
msc: Manage the msc_link_down only in the msc_conn.c
Only write to this property in the msc_conn context and not from within the main procedure.
Diffstat (limited to 'src/msc_conn.c')
-rw-r--r--src/msc_conn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c
index ac160bb..19394f8 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -79,6 +79,7 @@ void msc_close_connection(struct bsc_data *bsc)
close(bfd->fd);
bsc_unregister_fd(bfd);
bfd->fd = -1;
+ bsc->msc_link_down = 1;
release_bsc_resources(bsc);
bsc_del_timer(&bsc->ping_timeout);
bsc_del_timer(&bsc->pong_timeout);