On Friday 20 June 2008 09:18, SAMUEL Dinesh wrote:
>
> Hello,
>
> Hope you remember that the problem I have is not on a Wireless Card.
> The kernel and all the tools that I am using are not fancy tools.
>
> The problem must come from 'BPF filter' because when I comment this line the
> DHCPC works correctly:
>
> Clientsocket.c
> if (SERVER_PORT == 67 && CLIENT_PORT == 68)
> {
> /* Use only if standard ports are in use */
> /* Ignoring error (kernel may lack support for this) */
> if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER,
> &filter_prog,
> sizeof(filter_prog)) >= 0)
> DEBUG("attached filter to raw socket fd %d", fd);
> }
Does this help?
http://busybox.net/downloads/fixes-1.10.3/busybox-1.10.3-udhcpc.patch
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox