Re: bug in libnet-1.1 fix please

2008-11-08 Thread Stuart Henderson
On 2008/11/08 21:49, Mikko Tolmunen wrote: > it was so wrong, this one is much more elegant. ah, much better, thanks.

Re: bug in libnet-1.1 fix please

2008-11-08 Thread Mikko Tolmunen
it was so wrong, this one is much more elegant. --- libnet_link_bpf.c-orig Sat Nov 8 21:40:37 2008 +++ libnet_link_bpf.c Sat Nov 8 21:42:18 2008 @@ -43,6 +43,7 @@ #include #include #include +#include #include "../include/gnuc.h" #include "../include/bpf.h" @@ -278,9 +279,13 @@

Re: bug in libnet-1.1 fix please

2008-11-07 Thread irix
Hello Mikko, Friday, November 7, 2008, 12:11:30 PM, you wrote: MT> try the following diff. Thanks, this diff work fine. May you to commit this diff to libnet1.0 and libnet 1.1 ? -- Best regards, irixmailto:[EMAIL PROTECTED]

Re: bug in libnet-1.1 fix please

2008-11-07 Thread Mikko Tolmunen
try the following diff. --- src/libnet_link_bpf.c.orig Mon Jan 8 03:13:48 2001 +++ src/libnet_link_bpf.c Fri Nov 7 12:08:38 2008 @@ -250,6 +250,7 @@ char *buf, *next, *end; struct if_msghdr *ifm; struct sockaddr_dl *sdl; +struct sockaddr *sa; struct ether_addr *ea =

Re: bug in libnet-1.1 fix please

2008-11-06 Thread Stuart Henderson
that we've been using since 4.3. it's actually picking out part of the time-of-day where it should be reading the MAC address. (this fails on i386 but just happens to run on amd64..!) > Subject: Re: bug in libnet-1.1 fix please arping doesn't use libnet-1.1, it uses 1.0, th

bug in libnet-1.1 fix please

2008-11-06 Thread irix
Hello Ports, When I try to use arping (using libnet) he sent arp-who requests with wrong source mac e5:a8:0e:00:00:00 ff:ff:ff:ff:ff:ff 0806 42: arp who-has 10.15.131.254 tell 10.15.131.23 in normal arp-who request sending by kernel 00:02:b3:46:5c:51 ff:ff:ff:ff:ff:ff 0806 42: arp wh