From: Quentin Young Date: Thu, 20 Oct 2016 19:24:36 +0000 (+0000) Subject: lib: Allow '_' in arguments to VARIABLE_TKN X-Git-Tag: frr-3.0-branchpoint~129^2~72 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e8d5696d45a0f713b080f8b06f462febb5d38057;p=mirror%2Ffrr.git lib: Allow '_' in arguments to VARIABLE_TKN second attempt Signed-off-by: Quentin Young --- 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)