summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-08-09 16:45:03 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-08-09 16:45:03 +0200
commit2ba2b7dd068ae208f60e010aacb05372ca25cbb2 (patch)
tree509d4d0edab844d3621682e4ffc0ca2f01985b5b
parentf4d0911666067a7d84da73e6defd749d71142651 (diff)
fixup for: mgcp: add VTY Option to force-realloc endpoints
-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 d15ba8762..401288d84 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1629,7 +1629,7 @@ int main(int argc, char **argv)
osmo_stats_init(tall_bsc_ctx);
/* Ensure that forced enpoint allocation is turned on by default */
- cfg->trunk.force_realloc = 1;
+ nat->mgcp_cfg->trunk.force_realloc = 1;
/* init vty and parse */
if (mgcp_parse_config(config_file, nat->mgcp_cfg, MGCP_BSC_NAT) < 0) {