Nmap Development mailing list archives

Re: [PATCH] Nmap bug determining IP address from network interface name


From: "Luis M." <luis.mgarc () gmail com>
Date: Tue, 07 Jul 2009 16:39:30 +0200



Nice job debugging. I tested the patch in Nmap and it works fine. I can
see in a debugger that the proper address is being set.

While you're at it, you should add a check to skip any interfaces where
the address family is not AF_INET. Currently the getinterfaces function
already skips those, but this way it won't break if that changes in the
future.

David Fifield

_______________________

Thanks David. Done. I've included that check and applied the patch.


Luis.





_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: