pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/30842 )
Change subject: vty: Fix typo in write-config: osmux / local-port ......................................................................
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(-)
Approvals: Jenkins Builder: Verified daniel: Looks good to me, approved
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); }