diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-17 07:20:00 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-17 07:31:08 +0200 |
commit | 941839b3008a1bbd7f89180532f98a8303032ce3 (patch) | |
tree | 497c7f63b55f865c2a215bdcfc6a4794b5f88024 /openbsc/include | |
parent | 23a0e46f113cc362109970dbe26aba58b4a09f60 (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')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 2 |
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 *); |