diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-31 00:48:55 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-31 00:48:55 +0200 |
commit | 425e7381d758e5131efb55a0c475566039f663d5 (patch) | |
tree | 68591b4469707749a0f39ce2d1fa0a95192ec61b /openbsc | |
parent | d6a4ebc6462a1cf7e1e12587967363441dc7dc7b (diff) |
nat: Take the TRUNK config into account if compr can be used
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c index b2d83f569..e1e2a3c11 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c +++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c @@ -339,7 +339,7 @@ int bsc_mgcp_policy_cb(struct mgcp_trunk_config *tcfg, int endpoint, int state, } } - if (nat->mgcp_cfg->trunk.compress_dir == COMPR_BTS + if (mgcp_endp->tcfg->compress_dir == COMPR_BTS && sccp->bsc->cfg->allow_compr) compr = 1; |