[isf-wifidog] mac-address patch cry for help

Alexandre Carmel-Veilleux saruman at northernhacking.org
Mar 24 Mai 18:07:34 EDT 2005


On Mon, May 23, 2005 at 07:40:36PM -0400, Mina Naguib wrote:
> 
> If so, I believe the fix is in adding this line somewhere early in 
> get_iface_mac:
> memset(mac, 0, sizeof(mac));
> 
> Also note that get_iface_mac returns something like AABBCCDDEEFF 
> instead of AA:BB:CC:DD:EE:FF.  Let me know if you were expecting it to 
> do the later.
> 
> Finally, I'm not patching it into the main wifidog tree yet since I'm 
> still waiting developer feedback.  I'm also not convinced that setting 
> DEFAULT_GATEWAYID to NULL instead of "default" (hence populating it 
> with the mac) is the default behavior we want to distribute wifidog 
> with.

	If it works, patch it in. It's a cool feature. I'm wondering
why he didn't get the MAC from /proc, but there might be a valid reason
to use ioctl instead. At any rate, it's likely to be good and we can
drop in whatever code we want later if there's ever a reason to change
it.

Alex
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 230 octets
Desc: non disponible
Url: http://listes.philippeapril.com/pipermail/wifidog/attachments/20050524/4cbe9cdd/attachment.pgp


Plus d'informations sur la liste de diffusion WiFiDog