All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: [ANNOUNCE] iproute2 2.6.14-051107
Date: Tue, 22 Nov 2005 07:30:10 +0000	[thread overview]
Message-ID: <4382C902.2050000@trash.net> (raw)
In-Reply-To: <20051109163433.GA26468@legolas.on.net.mk>

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

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.

[-- Attachment #2: x --]
[-- Type: text/plain, Size: 760 bytes --]

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 },

[-- Attachment #3: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2005-11-22  7:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-09 16:34 [LARTC] Re: [ANNOUNCE] iproute2 2.6.14-051107 Damjan
2005-11-09 17:15 ` Stephen Hemminger
2005-11-10 16:35 ` Thomas Graf
2005-11-10 17:56 ` Damjan
2005-11-17  5:20 ` Damjan
2005-11-22  7:30 ` Patrick McHardy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4382C902.2050000@trash.net \
    --to=kaber@trash.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.