laforge submitted this change.
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 }
};
To view, visit change 27587. To unsubscribe, or for help writing mail filters, visit settings.