laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-e1d/+/27587 )
Change subject: vty.c: Fix re-reading of config file after 'write file'
......................................................................
vty.c: Fix re-reading of config file after 'write file'
When writing the timeslot mode, we must write it in lower-case,
as the VTY parser reading the config file only supports that.
Change-Id: Ic60449a0ba64117a5cf5e4a8e76484e9c955f09f
---
M src/vty.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/87/27587/1
diff --git a/src/vty.c b/src/vty.c
index 9d518d4..bdd0457 100644
--- a/src/vty.c
+++ b/src/vty.c
@@ -126,9 +126,9 @@
}
const struct value_string e1_ts_mode_names[] = {
- { E1_TS_MODE_OFF, "OFF" },
- { E1_TS_MODE_RAW, "RAW" },
- { E1_TS_MODE_HDLCFCS, "HDLC-FCS" },
+ { E1_TS_MODE_OFF, "off" },
+ { E1_TS_MODE_RAW, "raw" },
+ { E1_TS_MODE_HDLCFCS, "hdlc-fcs" },
{ 0, NULL }
};
--
To view, visit
https://gerrit.osmocom.org/c/osmo-e1d/+/27587
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ic60449a0ba64117a5cf5e4a8e76484e9c955f09f
Gerrit-Change-Number: 27587
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange