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

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.

 Jiri

-- 
Jiri Benc

  reply	other threads:[~2014-11-26 13:12 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 [this message]
2014-11-26 14:00     ` Nicolas Dichtel
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=20141126141204.42c76a37@griffin \
    --to=jbenc@redhat.com \
    --cc=mkubecek@suse.cz \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.dichtel@6wind.com \
    --cc=shemminger@vyatta.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox