-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eddy Petrișor wrote:
> tags 407435 patch
> retitle 407435 [amd64]arp-discovery fails due to broken libpcap;laptop-net 
> does not set the appropriate scheme
> thanks
> 
> Eddy Petrior wrote:
[..]
>> It appears that linking laptop-net with libcap0.8 fixes the issue.
>> Also, note that on the upstream pcap homepage, 0.8 is mentioned to
>> fix some 64 bit issue[1]:
> 
>> <quote>
>> LIBPCAP 0.8.3
> 
>> LIBPCAP version 0.8.3 has been released as of March 30, 2004. 0.8.3
>> fixes a minor problem with gencode.c on 64-bit architectures. It
>> also carries the correct version numbers.
>> </quote>
> 
> 
> I attached a patch which implements the change I proposed and fixes
> the issue I encountered (this is a patch against laptop-net 2.26-7.1).
> 

Here is the proof that this fixes the thing:
bounty:/home/eddy/usr/src/laptop-net# dpkg -s laptop-net | grep Version
Version: 2.26-7.2
bounty:/home/eddy/usr/src/laptop-net# ldd /usr/lib/laptop-net/arp-discovery
        libnet.so.1 => /usr/lib/libnet.so.1 (0x00002b29a8f49000)
        libpcap.so.0.8 => /usr/lib/libpcap.so.0.8 (0x00002b29a9062000)
        libc.so.6 => /lib/libc.so.6 (0x00002b29a918f000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b29a8e31000)
bounty:/home/eddy/usr/src/laptop-net#  /usr/lib/laptop-net/arp-discovery eth0 
/etc/laptop-net/ip-map
ritter


> Since the 0.8 version added some changes I have checked the following:
> 
> [EMAIL PROTECTED] ~/usr/src/laptop-net/laptop-net-2.26 $ grep -R -E
> "(pcap_next_ex|pcap_breakloop|pcap_dump_flush|pcap_list_datalinks|pcap_set_datalink|pcap_lib_version|pcap_datalink_val_to_name|pcap_datalink_name_to_val)"
> *

- -- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF5gMPY8Chqv3NRNoRAth7AKCp6toG2Et/s9/szN4Viyo1jjxbtwCfYVs+
Pi7EoPbDjEyq19Gb88Jk0uk=
=tR47
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to