[Bug 6746] udhcpc >= v1.19 (mipsel) does not respond to DHCP packet from server

bugzilla at busybox.net bugzilla at busybox.net
Thu Jan 16 23:48:05 UTC 2014


--- Comment #2 from NickR <ma.ya.sav at googlemail.com> 2014-01-16 23:48:04 UTC ---
> I need more data. Between which versions exactly behavior has changed?
> Can you show packet dump of last working and first non-working version?
> (tcpdump -s0 -xX will do).

Thanks for your reply.

As I badly needed busybox v1.21 up and running ASAP, I went through the source
code and experimented a bit. Finally, I was able to fix the issue by commenting
out this part of the code:

        if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &filter_prog,
                sizeof(filter_prog)) >= 0)
            log1("Attached filter to raw socket fd"); // log?

Apparently my kernel does not support this filter feature. It might make sense
to introduce a command line switch with the same effect.

If you still need the tcpdump, please let me know, I will try to produce it.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list