From 9f811d4f3e05b8863c172d44ead7e5499bff9924 Mon Sep 17 00:00:00 2001 From: jonnosan Date: Wed, 29 Jul 2009 10:32:59 +0000 Subject: [PATCH] bugfix from ShadowM - DHCP Request messages should be broadcast git-svn-id: http://svn.code.sf.net/p/netboot65/code@166 93682198-c243-4bdb-bd91-e943c89aac3b --- client/ip65/dhcp.s | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/ip65/dhcp.s b/client/ip65/dhcp.s index a20c31c..0154875 100644 --- a/client/ip65/dhcp.s +++ b/client/ip65/dhcp.s @@ -452,10 +452,15 @@ send_dhcprequest: : lda dhcp_server,x sta output_buffer+dhcp_options+11,x - sta udp_send_dest,x dex bpl :- + ;bugfix by ShadowM - DHCP request should be broadcast + lda #$ff + ldx #3 +: sta udp_send_dest,x + dex + bpl :- lda #$FF ;option FF = end of options sta output_buffer+dhcp_options+17