summaryrefslogtreecommitdiff
path: root/lib/command_match.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-20 19:24:36 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-20 19:24:36 +0000
commite8d5696d45a0f713b080f8b06f462febb5d38057 (patch)
tree812d6c11928df6d43c745f591dab395fee96ed01 /lib/command_match.c
parent8c9474817e73383bcf88ea700c9d83819660623d (diff)
lib: Allow '_' in arguments to VARIABLE_TKN
second attempt 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)