aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-02-28 17:55:36 +0100
committerDaniel Willmann <daniel@totalueberwachung.de>2018-01-25 16:35:16 +0100
commitdb815752587cd6e0f666c554f0d03adbbbe8a6bb (patch)
tree274ee33738bfab86ad616ef37fd282d5ce4fc1aa /openbsc
parent98a2ba4c57e95d2ce1e1e8147ea5a8d51788a191 (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.
Diffstat (limited to 'openbsc')
-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));