diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-03-12 13:57:05 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-03-12 13:58:30 +0100 |
commit | 8b29180cad875b396288a22fb252e158fa2a060a (patch) | |
tree | 0364f1d20fe1b734c587e1ca4fd08bd985d835f9 /openbsc/src/libbsc/bts_ipaccess_nanobts.c | |
parent | 1af682adb9c43bd5f646b801ab3e4fa7f983cd69 (diff) |
IPA: Allow RSL connection to different IP address as OML
This patch adds a new VTY command "ip.access rsl-ip A.B.C.D" at the
BTS level. If you set this IP address, the BTS will be instructed to
establish the RSL link to the indiciated IP address, rather than using
the same as for the OML link (default).
Use "ip.access rsl-ip 0" to disable the feature.
Diffstat (limited to 'openbsc/src/libbsc/bts_ipaccess_nanobts.c')
-rw-r--r-- | openbsc/src/libbsc/bts_ipaccess_nanobts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bts_ipaccess_nanobts.c b/openbsc/src/libbsc/bts_ipaccess_nanobts.c index 86c9fdc25..5d96967cf 100644 --- a/openbsc/src/libbsc/bts_ipaccess_nanobts.c +++ b/openbsc/src/libbsc/bts_ipaccess_nanobts.c @@ -407,7 +407,8 @@ static int sw_activ_rep(struct msgb *mb) abis_nm_opstart(trx->bts, foh->obj_class, trx->bts->bts_nr, trx->nr, 0xff); /* TRX software is active, tell it to initiate RSL Link */ - abis_nm_ipaccess_rsl_connect(trx, 0, 3003, trx->rsl_tei); + abis_nm_ipaccess_rsl_connect(trx, trx->bts->ip_access.rsl_ip, + 3003, trx->rsl_tei); break; case NM_OC_RADIO_CARRIER: { /* |