Bug#423212: Problem in receive_arp_replies
I'm almost done the update of laptop-netconf using libnet1 instead libnet0, but I'm facing an interesting issue with receive_arp_replies function. In libnet1 the source ip address (ar_spa) and the target ip address (ar_tpa) are no longer implemented, also source hardware address isn't supported too. I'm not a libnet expert but AFAIK the addresses are allocated dynamically in newer versions of that library, so I can't have that information on arp header packet. The problem could be solved if I could had the source hardware address back to compare with phisical address listed in /etc/laptop-netconf/opts. Right now I'm looking if
pcap.h could provide that information. Suggestions are very welcome.