mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 22:15:13 +08:00
tc: improve filter help texts a bit
This fixes a few syntax errors and changes route filter help text to use classid instead of flowid to be consistent with other filters' help texts. Signed-off-by: Phil Sutter <phil@nwl.cc>
This commit is contained in:
parent
d583e88ebc
commit
0a83e1eaf7
@ -28,7 +28,7 @@ static void explain(void)
|
||||
fprintf(stderr, " [ action ACTION-SPEC ] [ classid CLASSID ]\n");
|
||||
fprintf(stderr, "\n");
|
||||
fprintf(stderr, "Where: MATCH-LIST := [ MATCH-LIST ] MATCH\n");
|
||||
fprintf(stderr, " MATCH := [ indev DEV-NAME | \n");
|
||||
fprintf(stderr, " MATCH := { indev DEV-NAME | \n");
|
||||
fprintf(stderr, " dst_mac MAC-ADDR | \n");
|
||||
fprintf(stderr, " src_mac MAC-ADDR | \n");
|
||||
fprintf(stderr, " eth_type [ipv4 | ipv6 | ETH-TYPE ] | \n");
|
||||
@ -36,7 +36,7 @@ static void explain(void)
|
||||
fprintf(stderr, " dst_ip [ IPV4-ADDR | IPV6-ADDR ] | \n");
|
||||
fprintf(stderr, " src_ip [ IPV4-ADDR | IPV6-ADDR ] | \n");
|
||||
fprintf(stderr, " dst_port PORT-NUMBER | \n");
|
||||
fprintf(stderr, " src_port PORT-NUMBER | \n");
|
||||
fprintf(stderr, " src_port PORT-NUMBER }\n");
|
||||
fprintf(stderr, " FILTERID := X:Y:Z\n");
|
||||
fprintf(stderr, " ACTION-SPEC := ... look at individual actions\n");
|
||||
fprintf(stderr, "\n");
|
||||
|
@ -28,7 +28,7 @@
|
||||
static void explain(void)
|
||||
{
|
||||
fprintf(stderr, "Usage: ... route [ from REALM | fromif TAG ] [ to REALM ]\n");
|
||||
fprintf(stderr, " [ flowid CLASSID ] [ action ACTION_SPEC ]]\n");
|
||||
fprintf(stderr, " [ classid CLASSID ] [ action ACTION_SPEC ]\n");
|
||||
fprintf(stderr, " ACTION_SPEC := ... look at individual actions\n");
|
||||
fprintf(stderr, " CLASSID := X:Y\n");
|
||||
fprintf(stderr, "\nNOTE: CLASSID is parsed as hexadecimal input.\n");
|
||||
|
@ -27,7 +27,7 @@
|
||||
static void explain(void)
|
||||
{
|
||||
fprintf(stderr, "Usage: ... rsvp ipproto PROTOCOL session DST[/PORT | GPI ]\n");
|
||||
fprintf(stderr, " [ sender SRC[/PORT | GPI ]\n");
|
||||
fprintf(stderr, " [ sender SRC[/PORT | GPI ] ]\n");
|
||||
fprintf(stderr, " [ classid CLASSID ] [ action ACTION_SPEC ]\n");
|
||||
fprintf(stderr, " [ tunnelid ID ] [ tunnel ID skip NUMBER ]\n");
|
||||
fprintf(stderr, "Where: GPI := { flowlabel NUMBER | spi/ah SPI | spi/esp SPI |\n");
|
||||
|
Loading…
Reference in New Issue
Block a user