public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Nicolas Dichtel <nicolas.dichtel@6wind•com>
To: Jiri Benc <jbenc@redhat•com>, Michal Kubecek <mkubecek@suse•cz>
Cc: shemminger@vyatta•com, netdev@vger•kernel.org
Subject: Re: [PATCH iproute2] iplink: allow to show ip addresses
Date: Wed, 26 Nov 2014 15:00:52 +0100	[thread overview]
Message-ID: <5475DD14.7050206@6wind.com> (raw)
In-Reply-To: <20141126141204.42c76a37@griffin>

Le 26/11/2014 14:12, Jiri Benc a écrit :
> On Tue, 25 Nov 2014 07:10:23 +0100, Michal Kubecek wrote:
>> On Mon, Nov 24, 2014 at 05:42:17PM +0100, Nicolas Dichtel wrote:
>>> This patch adds a new option (-addresses) to the 'ip link' command so that the
>>> user can display link details and IP addresses with the same command.
>>>
>>> Example:
>>> $ ip -d -a l ls gre1
>>> 9: gre1@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1468 qdisc noqueue state UNKNOWN mode DEFAULT group default
>>>      link/gre 10.16.0.249 peer 10.16.0.121 promiscuity 0
>>>      gre remote 10.16.0.121 local 10.16.0.249 ttl inherit ikey 0.0.0.10 okey 0.0.0.10 icsum ocsum
>>>      inet 192.168.0.249 peer 192.168.0.121/32 scope global gre1
>>>         valid_lft forever preferred_lft forever
>>>      inet6 fe80::5efe:a10:f9/64 scope link
>>>         valid_lft forever preferred_lft forever
>>
>> Perhaps it would be more consistent to add -d option to "ip addr show"
>> instead as we already have -s for statistics there (commit 5d5cf1b43).
>
> Agreed.
I also agree ;-)
Will send a v2.


Thank you,
Nicolas

  reply	other threads:[~2014-11-26 14:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-24 16:42 [PATCH iproute2] iplink: allow to show ip addresses Nicolas Dichtel
2014-11-25  6:10 ` Michal Kubecek
2014-11-26 13:12   ` Jiri Benc
2014-11-26 14:00     ` Nicolas Dichtel [this message]
2014-12-04 16:41   ` [PATCH v2 iproute2] ipaddress: enable -details option Nicolas Dichtel
2014-12-10  4:14     ` Stephen Hemminger

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=5475DD14.7050206@6wind.com \
    --to=nicolas.dichtel@6wind$(echo .)com \
    --cc=jbenc@redhat$(echo .)com \
    --cc=mkubecek@suse$(echo .)cz \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=shemminger@vyatta$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox