iproute2/ip
Petr Písař 7f747fd937 iproute2: List interfaces without net address by default
This fixes regression in iproute2-3.5.1 when `ip addr show' skipped
interfaces without network layer address.

Wrong output:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff
    inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0
    inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic
       valid_lft 2591919sec preferred_lft 604719sec
    inet6 fe80::250:54ff:fe00:f03/64 scope link
       valid_lft forever preferred_lft forever

Expected output:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff
    inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0
    inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic
       valid_lft 2591896sec preferred_lft 604696sec
    inet6 fe80::250:54ff:fe00:f03/64 scope link
       valid_lft forever preferred_lft forever
5: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 8a:ec:35:34:1f:a8 brd ff:ff:ff:ff:ff:ff
6: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 2e:97:ef:77:40:82 brd ff:ff:ff:ff:ff:ff

Signed-off-by: Petr Písař <ppisar@redhat.com>
2012-10-03 08:47:14 -07:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile vxlan support 2012-10-01 08:36:50 -07:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c Add support for AF_BRIDGE 2012-09-17 15:50:27 -07:00
ip6tunnel.c iproute2: man page and /bin/ip disagree on del vs delete 2012-05-21 15:17:28 -07:00
ip_common.h Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
ipaddress.c iproute2: List interfaces without net address by default 2012-10-03 08:47:14 -07:00
ipaddrlabel.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ipl2tp.c iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
iplink.c iplink: add support for num[tr]xqueues 2012-08-01 16:19:55 -07:00
iplink_can.c iproute2: netlink support for bus-error reporting and counters 2010-03-03 16:45:10 -08:00
iplink_macvlan.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_macvtap.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_vlan.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_vxlan.c vxlan support 2012-10-01 08:36:50 -07:00
ipmaddr.c Fix file descriptor leak on error in read_igmp() 2011-10-07 11:20:23 -07:00
ipmonitor.c iproute2: drop equalize support. 2009-03-27 11:11:12 -07:00
ipmroute.c Fix file descriptor leak on error in read_mroute_list() 2011-10-07 11:20:21 -07:00
ipneigh.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
ipnetns.c iproute2: Fail "ip netns add" on existing network namespaces. 2011-08-31 11:02:26 -07:00
ipntable.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
ipprefix.c ip: fix display of prefix cache info 2011-07-20 16:02:50 -07:00
iproute.c iproute: Add route showdump command (v2) 2012-09-07 09:13:32 -07:00
iprule.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iptunnel.c VTI support for ip tunnel 2012-08-01 16:11:25 -07:00
iptuntap.c iproute2: man page and /bin/ip disagree on del vs delete 2012-05-21 15:17:28 -07:00
ipxfrm.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
link_gre.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
link_veth.c iproute2: support device group semantics 2011-02-25 12:43:14 -08:00
link_vti.c iproute2: VTI support for ip link command. 2012-08-01 16:13:32 -07:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtm_map.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtmon.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c support static-only systems 2009-11-10 10:44:20 -08:00
tunnel.c Use standard routines for interface name to index etc 2010-11-28 10:35:28 -08:00
tunnel.h Use standard routines for interface name to index etc 2010-11-28 10:35:28 -08:00
xfrm.h xfrm security context support 2011-03-17 09:58:23 -07:00
xfrm_monitor.c ip: xfrm: report nat-t/encapsulation portmapping updates 2012-03-15 14:49:03 -07:00
xfrm_policy.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
xfrm_state.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00