Bug#798329: ifconfig: changed output format breaks scripts

Martín Ferrari tincho at debian.org
Tue Sep 8 08:11:42 UTC 2015


THorsten,

On 08/09/15 10:25, Thorsten Glaser wrote:

> the changed output format of ifconfig breaks scripts parsing it.
[..]
> This particularily breaks both getting the MAC address and
> the/an IP address.

I don't think it is feasible to try and keep the old format, I have
finally updated net-tools to what upstream has been doing in the past 10
years..

Is this breaking a package or just your scripts?

In any case, I think you should be doing this differently. Either using
iproute2 that has a parseable format (although that has changed too), or
direcly parsing files in /proc/net

-- 
Martín Ferrari (Tincho)



More information about the Pkg-net-tools-maintainers mailing list