Nmap Development mailing list archives

Re: route_dst_netlink: can't find interface


From: David Fifield <david () bamsoftware com>
Date: Mon, 24 Sep 2012 14:56:57 -0700

On Mon, Sep 24, 2012 at 01:24:09PM +0100, Djalal Harouni wrote:
David the 'ip addr show' maps to 'link/ieee802.11'

From [1] line 99:
__PF(IEEE80211,ieee802.11)

From [2] line 86:
#define ARPHRD_IEEE80211 801          /* IEEE 802.11                  */

Adding this to libdnet would do the trick.

[1] http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=blob;f=lib/ll_types.c#l99
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/linux/if_arp.h#l86

I'll write a patch later, thanks.

Good work finding this. You knew where to look and saved a lot of time.
Please go ahead and commit the patch when it's ready.

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


Current thread: