aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-12 22:48:28 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-12 22:48:28 +0800
commitd6f1c4afbbf4d0f60495d965a9cab25d9bf95992 (patch)
treeeffd3cdc51cfe6e1388f6e9ad32e5cd53f008a51
parent0c8af75c94a79ca399975dec85aceef047c12b5a (diff)
ipaccess: Use the current TRX to set the OML address.
-rw-r--r--openbsc/src/ipaccess/ipaccess-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c
index 046460530..9bda04cde 100644
--- a/openbsc/src/ipaccess/ipaccess-config.c
+++ b/openbsc/src/ipaccess/ipaccess-config.c
@@ -342,7 +342,7 @@ static void bootstrap_om(struct gsm_bts_trx *trx)
*cur++ = 0;
printf("setting primary OML link IP to '%s'\n", inet_ntoa(ia));
oml_state = 1;
- abis_nm_ipaccess_set_nvattr(bts->c0, buf, 3+len);
+ abis_nm_ipaccess_set_nvattr(trx, buf, 3+len);
}
if (nv_mask) {
len = 4;