<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY><P>
<DIV><FONT face=Arial color=#000000 size=2>I'm new to the lists, and I'm sure which lists should I report bugs.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tested avahi-autoipd from release 0.6.18, 0.6.19 and 0.6.20 in two platforms, x86 running Linux 2.6.20-1.2962.fc6, and MIPS running linux 2.6.14. In all 6 cases, the ARP packets are malformed when captured with "wireshark".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is the patch that fixed the problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>--- avahi-0.6.20.orig/avahi-autoipd/main.c 2007-08-05 15:05:19.000000000 -0700<BR>+++ avahi-0.6.20/avahi-autoipd/main.c 2007-08-05 15:05:40.000000000 -0700<BR>@@ -510,7 +510,7 @@<BR> sa.sll_halen = ETHER_ADDRLEN;<BR> memset(sa.sll_addr, 0xFF, ETHER_ADDRLEN);<BR> <BR>- if (sendto(fd, packet, packet_len, 0, (struct sockaddr*) &sa, sizeof(sa)) < 0) {<BR>+ if (sendto(fd, packet->ether_payload, packet_len, 0, (struct sockaddr*) &sa, sizeof(sa)) < 0) {<BR> daemon_log(LOG_ERR, "sendto() failed: %s", strerror(errno));<BR> return -1;<BR> }<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Pauline Yeung</FONT></DIV></P>
<HR style="HEIGHT: 1px">
<DIV></DIV> - - - - - Appended by Scientific
Atlanta, a Cisco company - - - -
- <BR>This e-mail and any
attachments may contain information which is confidential, <BR>proprietary,
privileged or otherwise protected by law. The information is solely <BR>intended
for the named addressee (or a person responsible for delivering it to <BR>the
addressee). If you are not the intended recipient of this message, you are
<BR>not authorized to read, print, retain, copy or disseminate this message or
any <BR>part of it. If you have received this e-mail in error, please notify the
sender <BR>immediately by return e-mail and delete it from your computer.</BODY></HTML>