]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: Allow '_' in arguments to VARIABLE_TKN
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 20 Oct 2016 19:24:36 +0000 (19:24 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 20 Oct 2016 19:24:36 +0000 (19:24 +0000)
second attempt

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command_match.c

index e25bca2db8e2dcfae67b5efd11a71dcc944fd93d..42788ecb01d3eecc710d6e6fb278735890d894e2 100644 (file)
@@ -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)