aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-02-28 17:55:36 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2017-03-15 14:14:05 +0100
commit634eca0f75d468f5c6d18df320c84c16d31cc69b (patch)
tree9656c157c4835689807d64e65d251643c874c7ce
parentd2f1d3aa0774bdb093feff76b7010b3d784b892c (diff)
osmo-bsc_nat: Remove MSC IP cmdline option. This no longer makes sense for multiple MSCs
Change-Id: I6f348dd5c7bdb2530081a1d609d03a6b0d13d0b2 Ticket: SYS#3208 Sponsored-by: On-Waves ehf.
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 816ae58b6..f2dc46585 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -82,7 +82,6 @@
static const char *config_file = "bsc-nat.cfg";
static struct in_addr local_addr;
static struct osmo_fd bsc_listen;
-static const char *msc_ip = NULL;
static struct osmo_timer_list sccp_close;
static int daemonize = 0;
@@ -1507,9 +1506,6 @@ static void handle_options(int argc, char **argv)
case 'T':
log_set_print_timestamp(osmo_stderr_target, 1);
break;
- case 'm':
- msc_ip = optarg;
- break;
case 'l':
inet_aton(optarg, &local_addr);
break;
@@ -1633,10 +1629,6 @@ int main(int argc, char **argv)
return -3;
}
- /* over rule the VTY config */
- if (msc_ip)
- bsc_nat_set_msc_ip(nat, msc_ip);
-
/* seed the PRNG */
srand(time(NULL));