[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140321142238.0a81d1e3@nehalam.linuxnetplumber.net>
Date:	Fri, 21 Mar 2014 14:22:38 -0700
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	Masatake YAMATO <yamato@...hat.com>
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH] iproute: Show default type, table, proto and scope of
 route
On Wed, 12 Mar 2014 12:46:53 +0900
Masatake YAMATO <yamato@...hat.com> wrote:
> In "ip route show" output unicast type, main table, boot protocol and
> universe scope are hidden as default labels.
> 
> Sometimes it is helpful to show the hidden label for people not enough
> familiar with routing subsystem to map the output of "ip route show" and
> kernel source code.
> 
> With this patch "ip route show" with -d option shows the default labels.
> 
> Example of difference of output with -d option:
> 
>     $ ./ip/ip -4   route show table all dev virbr1
>     ...
>     192.168.121.0/28  proto kernel  scope link  src 192.168.121.1
>     ...
>     $ ./ip/ip -4 -d  route show table all dev virbr1
>     ...
>     unicast 192.168.121.0/28  table main  proto kernel  scope link  src 192.168.121.1
>     ...
> 
> Signed-off-by: Masatake YAMATO <yamato@...hat.com>
Looks good, applied
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists