On 2008/11/08 21:49, Mikko Tolmunen wrote:
> it was so wrong, this one is much more elegant.
ah, much better, thanks.
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 @@
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]
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 =
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
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