]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: flower: Fix usage message
authorPaul Blakey <paulb@mellanox.com>
Wed, 2 Nov 2016 15:09:58 +0000 (17:09 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 12 Nov 2016 07:19:06 +0000 (10:19 +0300)
Remove left over usage from removal of eth_type argument.

Fixes: 488b41d020fb ('tc: flower no need to specify the ethertype')
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
man/man8/tc-flower.8
tc/f_flower.c

index 74f76647753b6ceceaf7ff9aee9fd66187622e66..16ef261797ab402c3f030402c4061f89e085c32c 100644 (file)
@@ -23,8 +23,6 @@ flower \- flow based traffic control filter
 .R " | { "
 .BR dst_mac " | " src_mac " } "
 .IR mac_address " | "
-.BR eth_type " { " ipv4 " | " ipv6 " | " 802.1Q " | "
-.IR ETH_TYPE " } | "
 .B vlan_id
 .IR VID " | "
 .B vlan_prio
@@ -75,13 +73,6 @@ Do not process filter by hardware.
 .BI src_mac " mac_address"
 Match on source or destination MAC address.
 .TP
-.BI eth_type " ETH_TYPE"
-Match on the next protocol.
-.I ETH_TYPE
-may be either
-.BR ipv4 , ipv6 , 802.1Q ,
-or an unsigned 16bit value in hexadecimal format.
-.TP
 .BI vlan_id " VID"
 Match on vlan tag id.
 .I VID
index 2d31d1aa832dc04f1d3838345d6d4a5197f2b608..f39b1f7fd7047a1d121c44814637118084b7804d 100644 (file)
@@ -36,7 +36,6 @@ static void explain(void)
        fprintf(stderr, "                       vlan_ethtype [ ipv4 | ipv6 | ETH-TYPE ] |\n");
        fprintf(stderr, "                       dst_mac MAC-ADDR |\n");
        fprintf(stderr, "                       src_mac MAC-ADDR |\n");
-       fprintf(stderr, "                       [ipv4 | ipv6 ] |\n");
        fprintf(stderr, "                       ip_proto [tcp | udp | IP-PROTO ] |\n");
        fprintf(stderr, "                       dst_ip [ IPV4-ADDR | IPV6-ADDR ] |\n");
        fprintf(stderr, "                       src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n");
@@ -45,7 +44,7 @@ static void explain(void)
        fprintf(stderr, "       FILTERID := X:Y:Z\n");
        fprintf(stderr, "       ACTION-SPEC := ... look at individual actions\n");
        fprintf(stderr, "\n");
-       fprintf(stderr, "NOTE: CLASSID, ETH-TYPE, IP-PROTO are parsed as hexadecimal input.\n");
+       fprintf(stderr, "NOTE: CLASSID, IP-PROTO are parsed as hexadecimal input.\n");
        fprintf(stderr, "NOTE: There can be only used one mask per one prio. If user needs\n");
        fprintf(stderr, "      to specify different mask, he has to use different prio.\n");
 }