laforge submitted this change.

View Change

Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved tnt: Looks good to me, but someone else must approve
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(-)

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 }
};


1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.

To view, visit change 27587. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ic60449a0ba64117a5cf5e4a8e76484e9c955f09f
Gerrit-Change-Number: 27587
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: tnt <tnt@246tNt.com>
Gerrit-MessageType: merged