pespin has uploaded this change for review.
vty: Fix typo in write-config: osmux / local-port
The VTY command is "local-port", but write-config would write "port"
instead, which would fail when re-reading the config file.
Realted: SYS#6237
Change-Id: Id08530b626b0e69c3b3bb9d8bb9e16080a73e74d
---
M src/common/vty.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/42/30842/1
diff --git a/src/common/vty.c b/src/common/vty.c
index a33d719..7e36504 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -388,9 +388,9 @@
break;
}
vty_out(vty, "%s local-ip %s%s", prefix, bts->osmux.local_addr, VTY_NEWLINE);
+ vty_out(vty, "%s local-port %u%s", prefix, bts->osmux.local_port, VTY_NEWLINE);
vty_out(vty, "%s batch-factor %d%s", prefix, bts->osmux.batch_factor, VTY_NEWLINE);
vty_out(vty, "%s batch-size %u%s", prefix, bts->osmux.batch_size, VTY_NEWLINE);
- vty_out(vty, "%s port %u%s", prefix, bts->osmux.local_port, VTY_NEWLINE);
vty_out(vty, "%s dummy-padding %s%s", prefix, bts->osmux.dummy_padding ? "on" : "off", VTY_NEWLINE);
}
To view, visit change 30842. To unsubscribe, or for help writing mail filters, visit settings.