Subject: Re: Patch to change ethernet link addresses
To: None <dheeraj@ece.gatech.edu>
From: Ben Harris <bjh21@netbsd.org>
List: current-users
Date: 08/11/2003 12:33:14
In article <20030808072355.GA616@bharati.sudheeraj.net> you write:
>   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.

Erm, I think the kernel half of this exists already.  Look at
sys/net/if_ethersubr.c::ether_ioctl(), in particular the SIOCSIFADDR/AF_LINK
case.

-- 
Ben Harris                                                   <bjh21@NetBSD.org>
Portmaster, NetBSD/acorn26           <URL:http://www.NetBSD.org/Ports/acorn26/>