Text syntax parser/loader, fixed double leaf-list issue
Test: extended test_cli with format 4x tests
This commit is contained in:
parent
625a0ed19a
commit
4f9ed02a46
3 changed files with 135 additions and 48 deletions
|
|
@ -163,18 +163,3 @@
|
|||
* If not set, client will exit
|
||||
*/
|
||||
#define PROTO_RESTART_RECONNECT
|
||||
|
||||
/*! Text output keys as identifiers instead of ordinary leafs
|
||||
* That is, given list "list" with key value "a", if set, the output of show config or save
|
||||
* as text command is:
|
||||
* list a {
|
||||
* val 42;
|
||||
* }
|
||||
* If not set, the output is:
|
||||
* list {
|
||||
* keyname a;
|
||||
* val 42;
|
||||
* }
|
||||
* The TEXT parser (ie load) accepts both formats.
|
||||
*/
|
||||
#define TEXT_LIST_KEYS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue