aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-21 14:46:57 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 10:40:44 +0200
commit73bbf8924588f5dc9088ac34ac3da2747b18f9dc (patch)
tree8d1600f0263997d5d5c8ccf574ad5af50ff9f9f1 /openbsc/src/nat/bsc_nat.c
parenta914daf174e9d1a78bdccb1d5bd8b69ec8ff2280 (diff)
nat: Implement rewriting, have a very basic test for that feature
Diffstat (limited to 'openbsc/src/nat/bsc_nat.c')
-rw-r--r--openbsc/src/nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index dcacfb9ab..0a5851577 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -864,7 +864,7 @@ static int forward_sccp_to_msc(struct bsc_connection *bsc, struct msgb *msg)
* replace the msg and the parsed structure becomes
* invalid.
*/
- msg = bsc_nat_rewrite_setup(bsc->nat, msg, parsed);
+ msg = bsc_nat_rewrite_setup(bsc->nat, msg, parsed, con->imsi);
talloc_free(parsed);
parsed = NULL;
}