diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-11-11 20:37:43 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-11-11 20:37:43 +0000 |
| commit | 90e9905f07695fd32696f3d543cbe4ed432263b6 (patch) | |
| tree | 1d2f3cdbfd008bbf5814df5149aa7f95f71ca485 /lib/command_match.c | |
| parent | 6cbd1915d2a7ad64d4dfe6116e392f8f4ff3d67d (diff) | |
lib: Allow '-' to match 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 8fa8da6b10..ce03563acd 100644 --- a/lib/command_match.c +++ b/lib/command_match.c @@ -842,7 +842,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) |
