vty/command: restrict the use of '.', '!', and '@' as flags
Change-Id: Icb4acbab0a15de2b0ed7b88fb0e227675317146a
Related: SYS#4937
diff --git a/tests/vty/vty_test.c b/tests/vty/vty_test.c
index 3a69e13..1db0d5c 100644
--- a/tests/vty/vty_test.c
+++ b/tests/vty/vty_test.c
@@ -521,6 +521,9 @@
VTY_TEST_ATTR_FOO_DUP,
VTY_TEST_ATTR_ZOO_DUP,
VTY_TEST_ATTR_UPPER,
+ VTY_TEST_ATTR_RAFC_DOT,
+ VTY_TEST_ATTR_RAFC_EXCL,
+ VTY_TEST_ATTR_RAFC_AT,
};
int main(int argc, char **argv)
@@ -538,6 +541,10 @@
[VTY_TEST_ATTR_ZOO_DUP] = 'z',
/* Reserved for libraries */
[VTY_TEST_ATTR_UPPER] = 'X',
+ /* Reserved for global attribues */
+ [VTY_TEST_ATTR_RAFC_DOT] '.',
+ [VTY_TEST_ATTR_RAFC_EXCL] '!',
+ [VTY_TEST_ATTR_RAFC_AT] '@',
},
};