Bug#426523: Confusing Net-tools Oct error in Sarge and Etch

2007-05-29 Thread Peter Clapham
Package: Net-tools Version: 1.6-10 ifconfig eth1 172.10.10.08 netmask 255.255.255.255 172.10.10.08: Unknown host ifconfig `--help' gives usage information. Error appears to be due to ifconfig taking 08 as an invalid octal value rather than a binary with leading 0. Error also affects

Bug#426523: Confusing Net-tools Oct error in Sarge and Etch

2007-05-29 Thread Martín Ferrari
Hi Peter, On 5/29/07, Peter Clapham [EMAIL PROTECTED] wrote: Error appears to be due to ifconfig taking 08 as an invalid octal value rather than a binary with leading 0. Error also affects ifup/ifdown if /etc/network/interfaces has similar entries. Values 01-07 accepted as they are valid octal

Bug#426523: Confusing Net-tools Oct error in Sarge and Etch

2007-05-29 Thread Peter Clapham
Martín Ferrari wrote: Hi Peter, On 5/29/07, Peter Clapham [EMAIL PROTECTED] wrote: Error appears to be due to ifconfig taking 08 as an invalid octal value rather than a binary with leading 0. Error also affects ifup/ifdown if /etc/network/interfaces has similar entries. Values 01-07 accepted

Bug#426523: Confusing Net-tools Oct error in Sarge and Etch

2007-05-29 Thread Bernd Eckenfels
On Tue, May 29, 2007 at 04:06:41PM +0100, Peter Clapham wrote: Another alternative would be to use inet_pton which rejects octal ? that has been discussed to some extend, the problem is it will reject some currently used valid addresses and therefore might break bootup of existing installations,