[PATCH] hostid: fix behavior on identifiers starting with zeros

Denys Vlasenko vda.linux at googlemail.com
Tue Aug 16 21:36:23 UTC 2011


On Thursday 11 August 2011 13:44, gotrunks at gmail.com wrote:
> Hi,
> 
> I'm getting this:
> 
> # ifconfig eth0 | head -n1
> eth0      Link encap:Ethernet  HWaddr 00:1e:8c:6c:53:b0
> # busybox hostid
> 7f0101
> 
> And coreutils behavior is:
> 
> # hostid
> 007f0101
> 
> Patch attached.

Applied, thanks


More information about the busybox mailing list