Skip to content

Commit 914d280

Browse files
committed
match: remove lpm mask from help text
None of the currently supported backends use an LPM mask so remove it from the help messages to avoid confusion. Signed-off-by: Jeff Shaw <[email protected]> Acked-by: Hao Zheng <[email protected]>
1 parent 1e687a1 commit 914d280

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

man/match-create.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ HEADER_INSTANCE : string (e.g. ethernet)
9696
.br
9797
FIELD : string (e.g. dst_mac)
9898
.br
99-
MASK_TYPE : lpm|exact
99+
MASK_TYPE : mask|exact
100100
.br
101101
.RE
102102
For Example: match ethernet.dst_mac exact

src/match.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ static void create_usage(void)
152152
printf(" MATCH : HEADER_INSTANCE.FIELD MASK_TYPE\n");
153153
printf(" HEADER_INSTANCE : string (e.g. ethernet)\n");
154154
printf(" FIELD : string (e.g. dst_mac)\n");
155-
printf(" MASK_TYPE : lpm|exact\n");
155+
printf(" MASK_TYPE : mask|exact\n");
156156
printf("For Example: match ethernet.dst_mac exact\n");
157157
printf("\n");
158158
printf("The specified matches must be a subset of the source table's matches.\n");

0 commit comments

Comments
 (0)