commit | 4a98ae9a7112d811b9bf01208f01dadb5fe35b22 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Sep 29 01:00:46 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Oct 21 12:22:20 2010 +0200 |
tree | 896ddfcdb98ff8e312d9b3414a53934a12c35139 | |
parent | babb52873e6a157b6b5cad9b40841200dea9e520 [diff] [blame] |
nat: Store the IMSI inside the SCCP Connection data Store the IMSI for the connections that we are tracking, it will be freed when the normnal SCCP connection is freed.
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c index c1e3c98..9e4ccc6 100644 --- a/openbsc/src/nat/bsc_nat_utils.c +++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -469,6 +469,7 @@ ret = auth_imsi(bsc, mi_string); con->imsi_checked = 1; + con->imsi = talloc_strdup(con, mi_string); return ret; }