Hi,

We want to set the BOOTP opcode when we are sending a DHCPDECLINE.
This patch is  against the daily snapshot of 20080220.

/Jonas

diff -urp busybox-20080220/networking/udhcp/packet.c busybox-20080220-jd/networking/udhcp/packet.c
--- busybox-20080220/networking/udhcp/packet.c	2008-02-20 09:20:03.000000000 +0100
+++ busybox-20080220-jd/networking/udhcp/packet.c	2008-02-20 11:05:32.000000000 +0100
@@ -23,6 +23,7 @@ void udhcp_init_header(struct dhcpMessag
 	case DHCPREQUEST:
 	case DHCPRELEASE:
 	case DHCPINFORM:
+	case DHCPDECLINE:
 		packet->op = BOOTREQUEST;
 		break;
 	case DHCPOFFER:
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to