aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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