aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-17 07:48:45 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-17 07:48:45 +0200
commite8396c966336163fa5b4ab731ac253eaa4d9e7a0 (patch)
treec4f9ae0db0dc4b828198561f8559cf301d8de527 /openbsc/src/nat/bsc_nat_utils.c
parent941839b3008a1bbd7f89180532f98a8303032ce3 (diff)
nat: Make the MSC configurable.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c1
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 21459c5e5..4bc1a4cbc 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -52,6 +52,7 @@ struct bsc_nat *bsc_nat_alloc(void)
nat->stats.bsc.auth_fail = counter_alloc("nat.bsc.auth_fail");
nat->stats.msc.reconn = counter_alloc("nat.msc.conn");
nat->msc_ip = talloc_strdup(nat, "127.0.0.1");
+ nat->msc_port = 5000;
return nat;
}