]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc/cls_flower: Add to the usage encapsulation dest UDP port
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 22 Dec 2016 08:14:40 +0000 (10:14 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 22 Dec 2016 19:02:00 +0000 (11:02 -0800)
Encapsulation dest UDP port is part of the classifier matching
parameters, add it to the usage.

Fixes: 41aa17ff4668 ("tc/cls_flower: Add dest UDP port to tunnel params")
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Reported-by: Simon Horman <simon.horman@netronome.com>
tc/f_flower.c

index 653dfefc060af66beb8c37a19f3b12a97c87c62b..71e9515f501ad39205288580b561a5b05d338812 100644 (file)
@@ -53,10 +53,11 @@ static void explain(void)
                "                       dst_port PORT-NUMBER |\n"
                "                       src_port PORT-NUMBER |\n"
                "                       type ICMP-TYPE |\n"
-               "                       code ICMP-CODE }\n"
+               "                       code ICMP-CODE |\n"
                "                       enc_dst_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
                "                       enc_src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
-               "                       enc_key_id [ KEY-ID ] }\n"
+               "                       enc_key_id [ KEY-ID ] |\n"
+               "                       enc_dst_port [ UDP-PORT ] }\n"
                "       FILTERID := X:Y:Z\n"
                "       ACTION-SPEC := ... look at individual actions\n"
                "\n"