aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-05-26 12:48:00 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-06-06 19:48:53 +0000
commite3a3906ee9b7e1a6d4a3af05cd34a9da4a62e33e (patch)
tree63761a10d1d1d542d010121b2ff40de5224d3b38
parent8a8d73a691c709403be4adbe8f2a7150b4d5998a (diff)
trx: Save osmotrx base-port vty properties
-rw-r--r--src/osmo-bts-trx/trx_vty.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c
index 123ca803..4f74c441 100644
--- a/src/osmo-bts-trx/trx_vty.c
+++ b/src/osmo-bts-trx/trx_vty.c
@@ -513,6 +513,13 @@ void bts_model_config_write_phy(struct vty *vty, struct phy_link *plink)
vty_out(vty, " osmotrx ip remote %s%s",
plink->u.osmotrx.remote_ip, VTY_NEWLINE);
+ if (plink->u.osmotrx.base_port_local)
+ vty_out(vty, " osmotrx base-port local %"PRIu16"%s",
+ plink->u.osmotrx.base_port_local, VTY_NEWLINE);
+ if (plink->u.osmotrx.base_port_remote)
+ vty_out(vty, " osmotrx base-port remote %"PRIu16"%s",
+ plink->u.osmotrx.base_port_remote, VTY_NEWLINE);
+
vty_out(vty, " osmotrx fn-advance %d%s",
plink->u.osmotrx.clock_advance, VTY_NEWLINE);
vty_out(vty, " osmotrx rts-advance %d%s",