ip address delete bug?

Linux Advanced Routing and Traffic Control

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

 



Hi,

it seems that "ip address delete" will delete all addresses of the same class on an interface if it is ordered to only delete the first one:

# ip a f eth0
# ip a l eth0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether xx:xx:xx:xx:xx:xx
# ip a a 192.168.a.b brd + dev eth0
# ip a a 192.168.c.d brd + dev eth0
# ip a d 192.168.a.b brd + dev eth0
# ip a l eth0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether xx:xx:xx:xx:xx:xx

I'm using kernel 2.6.13 and iproute2-050816. The man page seems to agree with me that this behaviour is wrong. If that behaviour is intended, please update the man page.

Regards,
Carl-Daniel
--
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux