Re: Re: [ANNOUNCE] iproute2 2.6.14-051107

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Damjan wrote:
Patrick McHardy
       * Fix ip command shortcuts


Hmm.. what's this change?

I've noticed that "ip address" no longer works, only "ip addr" works.

This seems to be one of the things the introduction of
batch mode broke. This patch fixes it.
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 },
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux