aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index dcc30ca8c..6b061bc20 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1415,7 +1415,7 @@ static void handle_options(int argc, char **argv)
daemonize = 1;
break;
case 'c':
- config_file = strdup(optarg);
+ config_file = optarg;
break;
case 'T':
log_set_print_timestamp(osmo_stderr_target, 1);