From 634eca0f75d468f5c6d18df320c84c16d31cc69b Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Tue, 28 Feb 2017 17:55:36 +0100 Subject: 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. --- 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 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)); -- cgit v1.2.3