diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-29 01:00:46 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-21 12:22:20 +0200 |
commit | 8c78b480f9d1dbb0461f9294891687d43080abf5 (patch) | |
tree | 896ddfcdb98ff8e312d9b3414a53934a12c35139 /openbsc/src/nat/bsc_nat_utils.c | |
parent | 6b038314957ffc583bfcbdb97902e1a590b6e354 (diff) |
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.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c index c1e3c9828..9e4ccc6e2 100644 --- a/openbsc/src/nat/bsc_nat_utils.c +++ b/openbsc/src/nat/bsc_nat_utils.c @@ -469,6 +469,7 @@ static int _dt_check_id_resp(struct bsc_connection *bsc, ret = auth_imsi(bsc, mi_string); con->imsi_checked = 1; + con->imsi = talloc_strdup(con, mi_string); return ret; } |