[syslinux] Bug in pxelinux.asm:gendotquad
Brian
hiryuu at envisiongames.net
Tue Feb 24 02:41:54 PST 2004
Greetings.
I was messing with PXE this evening and stumbled on a bug in how the
dot-quad is generated. The test client IP was 192.168.1.100, but
pxelinux was showing 192.168.1.10.
The code breaks off the 1 in 100, then move to the 10s place. It sees
00 is less than 10, so it skips on to the ones place.
The attached patch forces the 10s place to print if the 100s place
prints. I'm sure there's a more elegant solution, but asm isn't really
my strong point.
-- Brian
More information about the Syslinux
mailing list