From 2ba2b7dd068ae208f60e010aacb05372ca25cbb2 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 9 Aug 2017 16:45:03 +0200 Subject: fixup for: mgcp: add VTY Option to force-realloc endpoints --- openbsc/src/osmo-bsc_nat/bsc_nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3