Bug#798329: ifconfig: changed output format breaks scripts
Thorsten Glaser
tg at mirbsd.de
Tue Sep 8 07:25:47 UTC 2015
Package: net-tools
Version: 1.60+git20150829.73cef8a-1
Severity: important
Hi,
the changed output format of ifconfig breaks scripts parsing it.
Before:
br0 Link encap:Ethernet HWaddr 90:e2:ba:0c:b8:17
inet addr:172.26.3.108 Bcast:172.26.255.255 Mask:255.255.0.0
inet6 addr: fe80::21b:21ff:fe62:2577/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2351724 errors:0 dropped:2931 overruns:0 frame:0
TX packets:525699 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1659213748 (1.5 GiB) TX bytes:216861337 (206.8 MiB)
After:
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.26.3.108 netmask 255.255.0.0 broadcast 172.26.255.255
inet6 fe80::21b:21ff:fe62:2577 prefixlen 64 scopeid 0x20<link>
ether 90:e2:ba:0c:b8:17 txqueuelen 0 (Ethernet)
RX packets 2351867 bytes 1659222913 (1.5 GiB)
RX errors 0 dropped 2931 overruns 0 frame 0
TX packets 525708 bytes 216861987 (206.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
This particularily breaks both getting the MAC address and
the/an IP address.
-- System Information:
Debian Release: stretch/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64
Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)
Versions of packages net-tools depends on:
ii libc6 2.19-19
net-tools recommends no packages.
net-tools suggests no packages.
-- no debconf information
More information about the Pkg-net-tools-maintainers
mailing list