]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
Remove bogus reference to tc-filters(8) from tc(8) manpage.
authorAndreas Barth <aba@not.so.argh.org>
Fri, 12 Oct 2007 08:56:41 +0000 (10:56 +0200)
committerStephen Hemminger <shemminger@linux-foundation.org>
Fri, 12 Oct 2007 21:55:42 +0000 (14:55 -0700)
Spotted by Aleš Kozumplík <al_es@seznam.cz>
(http://bugs.debian.org/289225)

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
12 files changed:
ip/ipaddress.c
ip/iplink.c
ip/iproute.c
ip/iprule.c
ip/iptunnel.c
man/man3/libnetlink.3
man/man8/ip.8
man/man8/ss.8
man/man8/tc-cbq-details.8
man/man8/tc-htb.8
man/man8/tc-prio.8
man/man8/tc.8

index 518d8cdba7c487b5127e20088a10c94dea03e06c..d1c66204e1a66ee081b0ae5d9464154d604c8331 100644 (file)
@@ -1019,7 +1019,7 @@ int do_ipaddr(int argc, char **argv)
                return ipaddr_list_or_flush(argc-1, argv+1, 1);
        if (matches(*argv, "help") == 0)
                usage();
-       fprintf(stderr, "Command \"%s\" is unknown, try \"ip address help\".\n", *argv);
+       fprintf(stderr, "Command \"%s\" is unknown, try \"ip addr help\".\n", *argv);
        exit(-1);
 }
 
index 82275b4e19646c7c6fc1d290b2e53de2aa0a1e6f..87d5243b58fd15b12974f32c7f3a2649312eeb1c 100644 (file)
@@ -337,7 +337,7 @@ static int iplink_modify(int cmd, unsigned int flags, int argc, char **argv)
        if (name) {
                len = strlen(name) + 1;
                if (len == 1)
-                       invarg("null string is not valid name\n");
+                       invarg("null string is not valid name\n", *argv);
                if (len > IFNAMSIZ)
                        invarg("\"name\" too long\n", *argv);
                addattr_l(&req.n, sizeof(req), IFLA_IFNAME, name, len);
index d9fc44ba2f9548ad32d6dfac4ec4047684effa2e..f4200aeff4f6e606f3160f069d1a8336a16bfb0c 100644 (file)
@@ -72,7 +72,7 @@ static void usage(void)
        fprintf(stderr, "OPTIONS := FLAGS [ mtu NUMBER ] [ advmss NUMBER ]\n");
        fprintf(stderr, "           [ rtt TIME ] [ rttvar TIME ]\n");
        fprintf(stderr, "           [ window NUMBER] [ cwnd NUMBER ] [ initcwnd NUMBER ]\n");
-       fprintf(stderr, "           [ ssthresh NUMBER ] [ realms REALM ]\n");
+       fprintf(stderr, "           [ ssthresh NUMBER ] [ realms REALM ] [ src ADDRESS ]\n");
        fprintf(stderr, "           [ rto_min TIME ]\n");
        fprintf(stderr, "TYPE := [ unicast | local | broadcast | multicast | throw |\n");
        fprintf(stderr, "          unreachable | prohibit | blackhole | nat ]\n");
index e1a943a2b60f8fd6f27d0fbb79e7aa1dc02938c2..0f7c22313a82529a74f2d98911af06ccc46ebbe3 100644 (file)
@@ -38,7 +38,7 @@ static void usage(void)
 {
        fprintf(stderr, "Usage: ip rule [ list | add | del | flush ] SELECTOR ACTION\n");
        fprintf(stderr, "SELECTOR := [ not ] [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]\n");
-       fprintf(stderr, "            [ dev STRING ] [ pref NUMBER ]\n");
+       fprintf(stderr, "            [ dev STRING ] [ pref NUMBER ] [ prio NUMBER ]\n");
        fprintf(stderr, "ACTION := [ table TABLE_ID ]\n");
        fprintf(stderr, "          [ prohibit | reject | unreachable ]\n");
        fprintf(stderr, "          [ realms [SRCREALM/]DSTREALM ]\n");
index 828d80a97025887efa0799b972bb2205eca66e51..aee526b33f42ffa4886a157453dbc76b0b43d3c7 100644 (file)
@@ -113,7 +113,7 @@ static int parse_args(int argc, char **argv, int cmd, struct ip_tunnel_parm *p)
                        NEXT_ARG();
                        p->i_flags |= GRE_KEY;
                        if (strchr(*argv, '.'))
-                               p->o_key = get_addr32(*argv);
+                               p->i_key = get_addr32(*argv);
                        else {
                                if (get_unsigned(&uval, *argv, 0)<0) {
                                        fprintf(stderr, "invalid value of \"ikey\"\n");
index 145f38d84f560fd9f92da21238ac33d41280b51c..15a478a7ae0fce0e49e9143cb93aa55009193849 100644 (file)
@@ -187,7 +187,7 @@ The functions sometimes use fprintf and exit when a fatal error occurs.
 This library should be named librtnetlink.
 
 .SH AUTHORS
-netlink/rtnetlink was designed and writen by Alexey Kuznetsov.
+netlink/rtnetlink was designed and written by Alexey Kuznetsov.
 Andi Kleen wrote the man page.
 
 .SH SEE ALSO
index 718105459a9e58a1ecb2f55d7e932c0c83aa8cc1..153123a434964059771ac517ece9ac4ef03e3813 100644 (file)
@@ -379,7 +379,7 @@ shortcut for
 .BR "\-o" , " \-oneline"
 output each record on a single line, replacing line feeds
 with the
-.B '\'
+.B '\e\'
 character. This is convenient when you want to count records 
 with
 .BR wc (1)
index f732319af41f1042fd188027e79562aa7d526631..19f341e6e7b7f60d65ba5a5c799421e598351c1a 100644 (file)
@@ -9,7 +9,7 @@ ss \- another utility to investigate sockets
 is used to dump socket statistics. It allows showing information similar
 to
 .IR netstat .
-It can display more TCP information than state than other tools.
+It can display more TCP and state informations than other tools.
 
 .SH OPTIONS
 These programs follow the usual GNU command line syntax, with long
index e47da62b85ce8f6fad827bca06c3b5eddc718c9b..09badb97b4f04e209eb3dc406bc40070154c6c31 100644 (file)
@@ -210,7 +210,7 @@ Consult the map for a class for the
 priority. If found, choose it, and terminate.
 .TP
 (iii)
-Choose the class at which break out to the fallback algorithm occured. Terminate.
+Choose the class at which break out to the fallback algorithm occurred. Terminate.
 .P
 The packet is enqueued to the class which was chosen when either algorithm 
 terminated. It is therefore possible for a packet to be enqueued *not* at a
index f61b81814eb5f0ac379863e351ad68d2ae486e07..d196ecd45f835985905618147eb8e44dd8f9a589 100644 (file)
@@ -137,7 +137,7 @@ packet. Should be at least as high as the highest cburst of all children.
 .SH NOTES
 Due to Unix timing constraints, the maximum ceil rate is not infinite and may in fact be quite low. On Intel, 
 there are 100 timer events per second, the maximum rate is that rate at which 'burst' bytes are sent each timer tick.
-From this, the mininum burst size for a specified rate can be calculated. For i386, a 10mbit rate requires a 12 kilobyte 
+From this, the minimum burst size for a specified rate can be calculated. For i386, a 10mbit rate requires a 12 kilobyte 
 burst as 100*12kb*8 equals 10mbit.
 
 .SH SEE ALSO
index e942e62ed3bb8659e67198d9fce64fe32fce956e..780bcd5a30a57caa4587a4391b6635806e795333 100644 (file)
@@ -30,7 +30,7 @@ traffic.
 On creation with 'tc qdisc add', a fixed number of bands is created. Each
 band is a class, although is not possible to add classes with 'tc qdisc
 add', the number of bands to be created must instead be specified on the
-commandline attaching PRIO to its root.
+command line attaching PRIO to its root.
 
 When dequeueing, band 0 is tried first and only if it did not deliver a
 packet does PRIO try band 1, and so onwards. Maximum reliability packets
@@ -88,7 +88,7 @@ this:
 The four TOS bits (the 'TOS field') are defined as:
 
 .nf
-Binary Decimcal  Meaning
+Binary Decimal  Meaning
 -----------------------------------------
 1000   8         Minimize delay (md)
 0100   4         Maximize throughput (mt)
@@ -125,13 +125,13 @@ TOS     Bits  Means                    Linux Priority    Band
 
 The second column contains the value of the relevant
 four TOS bits, followed by their translated meaning. For example, 15 stands
-for a packet wanting Minimal Montetary Cost, Maximum Reliability, Maximum
+for a packet wanting Minimal Monetary Cost, Maximum Reliability, Maximum
 Throughput AND Minimum Delay. 
 
 The fourth column lists the way the Linux kernel interprets the TOS bits, by
 showing to which Priority they are mapped.
 
-The last column shows the result of the default priomap. On the commandline,
+The last column shows the result of the default priomap. On the command line,
 the default priomap looks like this:
 
     1, 2, 2, 2, 1, 2, 0, 0 , 1, 1, 1, 1, 1, 1, 1, 1
index b9b8039100c3a14e20a9b2f1943487a06da837cb..6acd5722e5cba8acf860a25f38119e403173f036 100644 (file)
@@ -202,8 +202,7 @@ qdiscs will use all three:
 tc filters
 If tc filters are attached to a class, they are consulted first 
 for relevant instructions. Filters can match on all fields of a packet header, 
-as well as on the firewall mark applied by ipchains or iptables. See 
-.BR tc-filters (8).
+as well as on the firewall mark applied by ipchains or iptables. 
 .TP
 Type of Service
 Some qdiscs have built in rules for classifying packets based on the TOS field.
@@ -242,8 +241,7 @@ qdiscs applies.
 .TP 
 FILTERS
 Filters have a three part ID, which is only needed when using a hashed
-filter hierarchy, for which see
-.BR tc-filters (8).
+filter hierarchy.
 .SH UNITS
 All parameters accept a floating point number, possibly followed by a unit.
 .P