Re: [PATCH] net-tools 1.60: deferred ifconfig netmask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 1 Sep 2004, Malita, Florin wrote:
> OTOH: 
>         [root@scox root]# ifconfig eth0:1 192.168.120.12 netmask
>         255.255.252.0
>         [root@scox root]#
> 
> succeeds the first time since the actions are executed in the right
> order: SIOCSIFADDR _then_ SIOCSIFNETMASK.
> 
> This patch against net-tools-1.60 defers the netmask ioctl when using
> implicit/CIDR notation till after the address has been assigned. IOW, it
> makes the 2 commands equivalent (as some of us might expect ;).

Shouldn't we rather be removing ifconfig or making it ready-only
instead, as /sbin/ip seems to be vastly superior ?

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux