aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_msc.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 14:14:18 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 14:30:21 +0800
commitbec411b9db360e8cc8676aedf591e6564506c0ef (patch)
tree02d15baaf10f14ef860f7045c4381aa005914000 /openbsc/src/bsc_msc.c
parentdb65bbd515e40887e6d0db93e18afd4ffea1bc03 (diff)
nat: Store the msc_con in the data of the bsc_fd
* Stop using nat->msc_con in the read_cb but use the data.
Diffstat (limited to 'openbsc/src/bsc_msc.c')
-rw-r--r--openbsc/src/bsc_msc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/bsc_msc.c b/openbsc/src/bsc_msc.c
index 42b4c20f8..c85bf5bd5 100644
--- a/openbsc/src/bsc_msc.c
+++ b/openbsc/src/bsc_msc.c
@@ -47,6 +47,7 @@ static void connection_loss(struct bsc_msc_connection *con)
fd->when = 0;
con->is_connected = 0;
+ con->first_contact = 0;
con->connection_loss(con);
}
@@ -267,4 +268,4 @@ struct msgb *bsc_msc_id_get_resp(const char *token)
msgb_l16tv_put(msg, strlen(token) + 1,
IPAC_IDTAG_UNITNAME, (u_int8_t *) token);
return msg;
-} \ No newline at end of file
+}