summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2001-04-17 16:15:32 +0000
committerhpa <hpa>2001-04-17 16:15:32 +0000
commitfccffd5baf99fd53c4d8880eecb89b0617fb0658 (patch)
tree6137293b55eb8d12977b0cd7f62ef8a8d3f0238f
parent73ef62df11d0ce805744a1cd22d34e793035725b (diff)
downloadsyslinux-fccffd5baf99fd53c4d8880eecb89b0617fb0658.tar.gz
Fix reversed values in "ip=" option.syslinux-1.62-pre2
-rw-r--r--NEWS2
-rw-r--r--pxelinux.asm4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 1626a22b..4e989674 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ Changes in 1.62:
configuration file name and pathname prefix, using
"site-specific" DHCP options.
* PXELINUX: Documentation fixes.
+ * PXELINUX: Fix the "ipappend" option; the last two values
+ were reversed vs. what the kernel expected.
Changes in 1.61:
* ISOLINUX: Support full pathname searches. Max length for a
diff --git a/pxelinux.asm b/pxelinux.asm
index 74ca65f7..99e0793f 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -4326,11 +4326,11 @@ genipopt:
call gendotquad
mov al,':'
stosb
- mov eax,[Netmask]
+ mov eax,[Gateway]
call gendotquad
mov al,':'
stosb
- mov eax,[Gateway]
+ mov eax,[Netmask]
call gendotquad ; Zero-terminates its output
sub di,IPOption
mov [IPOptionLen],di