projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
186cd6e
)
One more instance of gateway-setting
author
hpa
<hpa>
Tue, 8 Apr 2003 00:24:26 +0000
(
00:24
+0000)
committer
hpa
<hpa>
Tue, 8 Apr 2003 00:24:26 +0000
(
00:24
+0000)
pxelinux.asm
patch
|
blob
|
history
diff --git
a/pxelinux.asm
b/pxelinux.asm
index
15e7820
..
7798f21
100644
(file)
--- a/
pxelinux.asm
+++ b/
pxelinux.asm
@@
-1623,6
+1623,12
@@
ack_packet:
mov [pxe_udp_write_pkt.rport],ax
mov eax,[si+tftp_remoteip]
mov [pxe_udp_write_pkt.sip],eax
+ xor eax,[MyIP]
+ and eax,[Netmask]
+ jz .nogw
+ mov eax,[Gateway]
+.nogw:
+ mov [pxe_udp_write_pkt.gip],eax
mov [pxe_udp_write_pkt.buffer],word ack_packet_buf
mov [pxe_udp_write_pkt.buffersize], word 4
mov di,pxe_udp_write_pkt