Bug 11596 - net-tools compatibility (Debian Stretch / Ubuntu Bionic and later)
Summary: net-tools compatibility (Debian Stretch / Ubuntu Bionic and later)
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.30.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-09 21:12 UTC by macmpi
Modified: 2019-01-18 20:53 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description macmpi 2019-01-09 21:12:30 UTC
Hi

net-tools 1.60+git20161116.90da8a0-1 (as shipped in Debian Stretch) has changed some utilities output as per this notice:

net-tools (1.60+git20161116.90da8a0-1) unstable; urgency=medium
After 15 years without upstream development, net-tools is being worked on
again, fixing many long-standing issues.
The bad news is that the output of many commands has changed, and it is sure
to break scripts that relied on parsing it.
If you have customs scripts that use any of these commands, please make sure
they still work after this upgrade:
netstat, ifconfig, ipmaddr, iptunnel, mii-tool, nameif, plipconfig, rarp,
route, slattach, arp.
Apologies in advance for the trouble that this may cause, but maintaining a
separate version of net-tools just to keep the old format is something I am
not able to do.
-- Martín Ferrari tincho@debian.org Mon, 26 Dec 2016 05:29:25 +0000

For instance ifconfig output differs between Busybox (up to 1.30) and Debian Stretch; respectively:
inet addr 192.168.1.101  Bcast 192.168.1.255  Mask 255.255.255.0
inet 192.168.1.101  netmask 255.255.255.0  broadcast 192.168.1.255


Would setting a compatibility config on old/new format make sense for these utilities?