summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ff3c48fc31..f740b72600 100644
--- a/lib/command_match.c
+++ b/lib/command_match.c
@@ -566,9 +566,9 @@ static int score_precedence(enum cmd_token_type type)
case IPV6_PREFIX_TKN:
case MAC_TKN:
case MAC_PREFIX_TKN:
- case ASNUM_TKN:
case RANGE_TKN:
return 2;
+ case ASNUM_TKN:
case WORD_TKN:
return 3;
case VARIABLE_TKN: