[PATCH] Link level FreeBSD fix

Jouni Malinen j
Sat Mar 17 10:59:25 PDT 2007


On Thu, Mar 08, 2007 at 11:10:08PM +0100, Jouke Witteveen wrote:

> At last, the final touch is here. All that was still needed to make
> wpa_supplicant work with FreeBSD on my (wired) network was a minor
> change in l2_packet_freebsd.c. The change is copied from
> l2_packet_pcap.c and is needed in situations where the server
> addresses its packages to the link-layer multicast address (ie: my
> situation). A patch for 0.5.7 is attached.

Thanks! Applied to 0.5.x and 0.6.x branches.

> I noticed that there seems to be a typo a few lines above the affected
> lines. On line 114 (_freebsd, unpatched) and 232 (_pcap) it says
> "pcap_set_datalinke(DLT_EN10MB): %s\n". I believe it should read
> "pcap_set_datalink(DLT_EN10MB): %s\n" (without the e). This is not
> included in the patch, so if it is a typo I ask you to manually
> correct it.

Fixed.

> I hope to see the patch applied soon. Thanks to everyone that has
> helped me on this one.

It's in my repositories and will be in the next releases. I would assume
Sam will add this to FreeBSD at some point, too.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list