Antonio Dias wrote:
Patrick McHardy <[EMAIL PROTECTED]> wrote:

Indeed, it seems quite a few commands got lost. This patch restores
them.


Index: ip/ip.c
===================================================================
RCS file: /repos/iproute2/ip/ip.c,v
retrieving revision 1.10
diff -u -r1.10 ip.c
--- ip/ip.c     24 Oct 2005 16:26:25 -0000      1.10
+++ ip/ip.c     22 Nov 2005 03:49:54 -0000
@@ -62,13 +62,15 @@
        const char *cmd;
        int (*func)(int argc, char **argv);
} cmds[] = {
-       { "addr",     do_ipaddr },
-       { "maddr",    do_multiaddr },
+       { "address",  do_ipaddr },
+       { "maddress", do_multiaddr },
        { "route",    do_iproute },
        { "rule",     do_iprule },
-       { "neigh",    do_ipneigh },
+       { "neighbour",        do_ipneigh },
+       { "neighbor", do_ipneigh },
        { "link",     do_iplink },
        { "tunnel",   do_iptunnel },
+       { "tunl",     do_iptunnel },
        { "monitor",  do_ipmonitor },
        { "xfrm",     do_xfrm },
        { "mroute",   do_multiroute },


Hum... to me seens like your patch will restore those lost objects but
will discard shortcuts "addr", "maddr" and "neigh" and I think this will
cause problems too.

No, the change you quoted at the beginning of this thread fixed
shortcuts, which means instead of address you can also use
"a", "ad", "add", and so on. Actually the ordering of this list
also matters to keep full compatibility, I need to recheck that.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to