summaryrefslogtreecommitdiff
path: root/lib/command_match.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-20 19:17:36 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-20 19:17:36 +0000
commite0a467872b307021477ea7b4ba27ffc5d20aedd0 (patch)
tree8fffc082021bac80e8e383a0b342d859e60a0a62 /lib/command_match.c
parent0a538fc98fb662b4cf2d927ac29fd9af4a4fab03 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_match.c b/lib/command_match.c
index e25bca2db8..42788ecb01 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)