Subject: Re: Patch to change ethernet link addresses
To: None <>
From: None <>
List: current-users
Date: 08/08/2003 16:47:03
>Hello all
>   I am attaching a patches that allow ifconfig to change the ethernet
>MAC addresses temporarily. (the new new MAC address is good until a reboot).
>the diffs are against sources after an update today.
>I have checked this code on two ethernet cards that I have (both pcmcia).
>Thanks Jaromir for encouraging.

	SIOC?LIFADDR is for assigning address by sockaddr_storage.  if you
	we (NRL/KAME) intentionally did not define SIOCSLIFADDR, as "Set"
	semantics would be ambiguous when there are multiple addresses assigned
	onto the interface.  please do not add SIOCSLIFADDR (the API is
	discussed with third parties and agreed upon).  my advice is to issue

	next, you are putting ethernet address directly into sockaddr_storage.
	please use AF_LINK sockaddr.