aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-03 16:30:07 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-01-03 16:30:09 +0100
commit0336b6e8e5a85bb2e4939d9b690e438a474954dd (patch)
treea79fa5ea18b95d23c806869e3feb94b8747642d7
parenta743ae1c1e6a1f035e367d167ae5d2c249e644c1 (diff)
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
-rw-r--r--src/common/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index a33d7193..7e365044 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -388,9 +388,9 @@ static void config_write_osmux(struct vty *vty, const char *prefix, const struct
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);
}