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

Pavlin Radoslavov pavlin at icir.org
Fri Jun 22 15:04:18 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-06-22 22:04:18 UTC

XORP CVS repository


Modified files:
	libxorp       mac.cc mac.hh 

Log message:
	* Added new methods EtherMac::copy_out() and EtherMac::copy_in()
	  to copy to/from Mac address.
	
	* If there is an error when copy_out/copy_in, the return value
	  is static_cast<size_t>(-1) instead of 0.
	
	* When copy_out/copy_in involves EtherMac, on success the return
	  value will be EtherMac::ADDR_BYTELEN instead of the length
	  of the string representation of the EtherMac address.
	
	* Misc. cleanup

Revision  Changes                                Path
1.16      +51 -25;  commitid: e885467c46be7ea6;  xorp/libxorp/mac.cc
1.15      +31 -12;  commitid: e885467c46be7ea6;  xorp/libxorp/mac.hh



More information about the Xorp-cvs mailing list