aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/main.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-05-26 12:45:33 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-06-06 19:23:18 +0000
commit8a8d73a691c709403be4adbe8f2a7150b4d5998a (patch)
tree2413af79c7ba5aa51b7163fe22277e7ad3a9e62e /src/osmo-bts-trx/main.c
parentd36b3a84638d6db940387f0e18c98855202f554d (diff)
trx: Allow BTS and TRX to be on different IPs
Diffstat (limited to 'src/osmo-bts-trx/main.c')
-rw-r--r--src/osmo-bts-trx/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c
index 0148e5bb..b2cbb39e 100644
--- a/src/osmo-bts-trx/main.c
+++ b/src/osmo-bts-trx/main.c
@@ -113,7 +113,8 @@ int bts_model_init(struct gsm_bts *bts)
void bts_model_phy_link_set_defaults(struct phy_link *plink)
{
- plink->u.osmotrx.transceiver_ip = talloc_strdup(plink, "127.0.0.1");
+ plink->u.osmotrx.local_ip = talloc_strdup(plink, "127.0.0.1");
+ plink->u.osmotrx.remote_ip = talloc_strdup(plink, "127.0.0.1");
plink->u.osmotrx.base_port_local = 5800;
plink->u.osmotrx.base_port_remote = 5700;
plink->u.osmotrx.clock_advance = 20;