aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2001-02-08 07:08:17 +0000
committerhpa <hpa>2001-02-08 07:08:17 +0000
commitb18af4666b79ce2b47e0fb34c4653ce655e0dfe6 (patch)
tree197b21ef881216f740145eaa0146e646124e7724
parentbdf7389f4ad6244bf16a2df2fc20f5bd575790c5 (diff)
downloadsyslinux.git-b18af4666b79ce2b47e0fb34c4653ce655e0dfe6.tar.gz
syslinux.git-b18af4666b79ce2b47e0fb34c4653ce655e0dfe6.tar.xz
syslinux.git-b18af4666b79ce2b47e0fb34c4653ce655e0dfe6.zip
Fix confusing/incorrect comments about host vs network byte order
-rw-r--r--pxelinux.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index 581585b0..c447a1b6 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -594,9 +594,9 @@ query_bootp:
.goodip:
mov di,DotQuadBuf
push di
- call gendotquad ; This takes host byte order input
+ call gendotquad ; This takes network byte order input
- xchg ah,al ; Host byte order
+ xchg ah,al ; Convert to host byte order
ror eax,16 ; (BSWAP doesn't work on 386)
xchg ah,al
@@ -786,7 +786,7 @@ find_config: mov di,trackbuf
rep movsb
mov cx,8
mov eax,[MyIP]
- xchg ah,al ; Host byte order
+ xchg ah,al ; Convert to host byte order
ror eax,16
xchg ah,al
.hexify_loop: rol eax,4
@@ -3857,7 +3857,7 @@ unload_pxe:
;
; gendotquad
;
-; Take an IP address (in host byte order) in EAX and
+; Take an IP address (in network byte order) in EAX and
; output a dotted quad string to ES:DI.
; DI points to terminal null at end of string on exit.
;