On 2013-08-17 10:19 +0200, Vincent Lefevre wrote:
> After the upgrade to libnet-arp-perl 1.0.8-1, Net::ARP::arp_lookup
> always fails:
>
> xvii:~> perl -MNet::ARP -e 'print "->
> ".Net::ARP::arp_lookup(undef,"192.168.1.1")."\n"'
> No valid device name found.
> -> unknown
I can't seem to find any references to arp_lookup accepting undef as
device in the manual. I can reproduce your issue, but actually setting
device to something makes it work. I'm inclined to disagree on this
being grave. Imho.
$ perl -MNet::ARP -E 'say Net::ARP::arp_lookup("wlan0", "192.168.1.1")'
--
---------------------------------------------------------------
| Olof Johansson http://stdlib.se/ |
| irc: zibri https://github.com/olof |
---------------------------------------------------------------
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]