From a88742cf5ec7d398d39c7d0623a531d30e2f7189 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 15 Jun 2010 18:51:04 +0800 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/bsc_nat.h') 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