aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-09-19 15:28:48 +0200
committerMax <msuraev@sysmocom.de>2017-09-19 18:27:24 +0200
commitf94c763d9eb5d97118efa53f9160d47c89575f90 (patch)
tree1c2771de40c9350636804c942f2184c71ff16b90
parent9b1b26e381f9ad91fb3e9617a4d692757178bbd7 (diff)
osmo-bsc_nat: Remove MSC IP cmdline option
This no longer makes sense for multiple MSCs Adjusted by Max <msuraev@sysmocom.de> 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 daa066d05..5016c4d40 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -84,7 +84,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;
@@ -1641,10 +1637,6 @@ int main(int argc, char **argv)
return -5;
}
- /* over rule the VTY config for MSC IP */
- if (msc_ip)
- bsc_nat_set_msc_ip(nat, msc_ip);
-
/* seed the PRNG */
srand(time(NULL));