On Wednesday 20 February 2008 11:11, Jonas Danielsson wrote:
> Hi,
> 
> We want to set the BOOTP opcode when we are sending a DHCPDECLINE.
> This patch is  against the daily snapshot of 20080220.

Hmm. I propose to make it smaller this way:

        packet->op = BOOTREQUEST;
        switch (type) {
        case DHCPOFFER:
        case DHCPACK:
        case DHCPNAK:
                packet->op = BOOTREPLY;
        }

Applying as shown.
Thanks.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to