Hi Denys,
Thanks, but filter code is still disabled

diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -990,7 +990,6 @@ static int udhcp_raw_socket(int ifindex)
        sock.sll_ifindex = ifindex;
        xbind(fd, (struct sockaddr *) &sock, sizeof(sock));
 
-#if 0 /* Several users reported breakage when BPF filter is used */
        if (CLIENT_PORT == 68) {
                /* Use only if standard port is in use */
                /*
@@ -1041,7 +1040,6 @@ static int udhcp_raw_socket(int ifindex)
                                sizeof(filter_prog)) >= 0)
                        log1("Attached filter to raw socket fd"); // log?
        }
-#endif
 
        if (setsockopt(fd, SOL_PACKET, PACKET_AUXDATA,
                        &const_int_1, sizeof(int)) < 0
--
1.7.2.5

Best Regards, Vladislav Grishenko


_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to