Skip to content

Commit fea136d

Browse files
committed
match: fix priority help message
Higher priority numbers indicate higher priority. Lower priority numbers are lower priority. Signed-off-by: Jeff Shaw <[email protected]> Acked-by: Indu Madhavan <[email protected]>
1 parent 131fa22 commit fea136d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

man/match-set_rule.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Silence verbose printing
5555
.br
5656
prio <prio>
5757
.RS 4
58-
The priority of the new rule (0 is lowest).
58+
The priority of the new rule (1 is lowest).
5959
.RE
6060

6161
.br

src/match.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static void set_rule_usage(void)
203203
printf("Usage: %s set_rule prio NUM handle NUM table NUM match MATCH [match MATCH...] action ACTION [ACTION_ARG...] [action ACTION [ACTION_ARG...]...]\n", progname);
204204
printf("\n");
205205
printf("Where:\n");
206-
printf(" prio is the priority of new rule (0 is highest)\n");
206+
printf(" prio is the priority of new rule (1 is lowest)\n");
207207
printf(" handle is the id of new rule\n");
208208
printf(" table is the table id in which to add the rule\n");
209209
printf(" match is one or more criteria for the rule to match\n");

0 commit comments

Comments
 (0)