From f94c763d9eb5d97118efa53f9160d47c89575f90 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Tue, 19 Sep 2017 15:28:48 +0200 Subject: osmo-bsc_nat: Remove MSC IP cmdline option This no longer makes sense for multiple MSCs Adjusted by Max Change-Id: I6f348dd5c7bdb2530081a1d609d03a6b0d13d0b2 Ticket: SYS#3208 Sponsored-by: On-Waves ehf. --- openbsc/src/osmo-bsc_nat/bsc_nat.c | 8 -------- 1 file changed, 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)); -- cgit v1.2.3