aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 18:51:04 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:14 +0800
commita88742cf5ec7d398d39c7d0623a531d30e2f7189 (patch)
tree71bce98e77e8d9517d92adda93e7bab80d1d1730 /openbsc/include/openbsc/bsc_nat.h
parent1395948e18ccf558d5c39ed1ba922d6f7e8a0390 (diff)
nat: Move MSC ip address into the config..
The address can still be specified on the cli and it will overwrite the config in the config file.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 4ad54951d..3754f25f0 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -204,6 +204,7 @@ struct bsc_nat {
int mgcp_length;
/* msc things */
+ char *msc_ip;
int first_contact;
struct bsc_endpoint *bsc_endpoints;
@@ -223,6 +224,7 @@ struct bsc_config *bsc_config_alloc(struct bsc_nat *nat, const char *token, unsi
struct bsc_config *bsc_config_num(struct bsc_nat *nat, int num);
struct bsc_nat *bsc_nat_alloc(void);
struct bsc_connection *bsc_connection_alloc(struct bsc_nat *nat);
+void bsc_nat_set_msc_ip(struct bsc_nat *bsc, const char *ip);
void sccp_connection_destroy(struct sccp_connections *);