diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-20 21:17:36 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-20 21:17:36 +0200 |
commit | e0a467872b307021477ea7b4ba27ffc5d20aedd0 (patch) | |
tree | 8fffc082021bac80e8e383a0b342d859e60a0a62 /lib/command_match.c | |
parent | Merge branch 'cmaster-next' into vtysh-grammar (diff) | |
download | frr-e0a467872b307021477ea7b4ba27ffc5d20aedd0.tar.xz frr-e0a467872b307021477ea7b4ba27ffc5d20aedd0.zip |
lib: Allow '_' in arguments to VARIABLE_TKN
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_match.c')
-rw-r--r-- | lib/command_match.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_match.c b/lib/command_match.c index e25bca2db..42788ecb0 100644 --- a/lib/command_match.c +++ b/lib/command_match.c @@ -838,7 +838,7 @@ match_word (struct cmd_token *token, const char *word) } #define VARIABLE_ALPHABET \ -"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890:/." +"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890:/._" static enum match_type match_variable (struct cmd_token *token, const char *word) |