commit | 73bbf8924588f5dc9088ac34ac3da2747b18f9dc | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Oct 21 14:46:57 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Oct 27 10:40:44 2010 +0200 |
tree | 8d1600f0263997d5d5c8ccf574ad5af50ff9f9f1 | |
parent | a914daf174e9d1a78bdccb1d5bd8b69ec8ff2280 [diff] [blame] |
nat: Implement rewriting, have a very basic test for that feature
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index dcacfb9..0a58515 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c
@@ -864,7 +864,7 @@ * 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; }