[Xorp-cvs] XORP cvs commit: xorp/fea
Pavlin Radoslavov
pavlin@icir.org
Thu, 13 Oct 2005 03:22:54 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-10-13 03:22:54 UTC
XORP CVS repository
Modified files:
fea ifconfig_set.cc
Log message:
If an interface is marked as disabled or deleted, then mark all
vifs and addresses that belong to it as disabled or deleted respectively.
The same logic is applied if a vif is marked as disabled or deleted:
all addresses that belong to it are also marked as disabled or deleted
respectively.
This fixes a bug when deleting an interface (e.g, via xorpsh):
previously the interface status in the kernel was marked as DOWN,
but the addresses were still there. Now the addresses are deleted
properly.
Revision Changes Path
1.33 +29 -10; commitid: 8ecb434dd2417ea6; xorp/fea/ifconfig_set.cc