Fix reversed values in "ip=" option.
authorhpa <hpa>
Tue, 17 Apr 2001 16:15:32 +0000 (16:15 +0000)
committerhpa <hpa>
Tue, 17 Apr 2001 16:15:32 +0000 (16:15 +0000)
NEWS
pxelinux.asm

diff --git a/NEWS b/NEWS
index 1626a22..4e98967 100644 (file)
--- 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
index 74ca65f..99e0793 100644 (file)
@@ -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