[Xorp-cvs] XORP cvs commit: xorp/fea

Pavlin Radoslavov pavlin@icir.org
Tue, 20 Sep 2005 03:17:04 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-09-20 03:17:04 UTC

XORP CVS repository


Modified files:
	fea           ifconfig_set.cc 

Log message:
	When setting the MAC address, if the interface is UP, then
	first explicitly set it DOWN, set the MAC address, and then
	restore its status to UP.
	This is needed, because we may not be able to set the MAC address
	if the interface is not DOWN (limitation imposed by the Linux kernel).
	
	This fixes Bugzilla entry #193
	
	Bugzilla URL:   http://www.xorp.org/bugzilla/show_bug.cgi?id=193

Revision  Changes                                 Path
1.31      +29 -18;  commitid: 125f4432f7e7d7ea6;  xorp/fea/ifconfig_set.cc