From 941839b3008a1bbd7f89180532f98a8303032ce3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 17 Apr 2010 07:20:00 +0200 Subject: 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. --- openbsc/include/openbsc/bsc_nat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/include/openbsc') 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 *); -- cgit v1.2.3