Skip to content

Commit

Permalink
Merge pull request #14204 from opensourcerouting/fix/clear_bgp
Browse files Browse the repository at this point in the history
lib: Lower precedence for ASNUM_TKN when using together with IPV4/IPV6_TKN
  • Loading branch information
donaldsharp authored Aug 16, 2023
2 parents 1f348e5 + 58a93c2 commit fce2afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/command_match.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fce2afe

Please sign in to comment.