2016-07-14, 11:38
Hi,
I checkout to compile and run iPXE at the commit
commit bb9961fb548068f769c666970c1de6c68743ed07
Author: Michael Brown <mcb30@ipxe.org>
Date: Tue Jun 26 14:49:26 2012 +0100
[test] Add self-tests for TCP/IP checksum calculation
Signed-off-by: Michael Brown <mcb30@ipxe.org>
However I found the command "isset" always true although the value does not exist and the loop never ends.
#!ipxe
set idx:int32 0
:loop isset ${net${idx}/mac} || goto loop_done
echo net${idx} is a ${net${idx}/chip} with MAC ${net${idx}/mac}
inc idx && goto loop
:loop_done
The problem does not happen with the latest iPXE, could you hep to point out the commit that fixed above issue in old iPXE.
Thanks,
Brs,
Naruto
I checkout to compile and run iPXE at the commit
commit bb9961fb548068f769c666970c1de6c68743ed07
Author: Michael Brown <mcb30@ipxe.org>
Date: Tue Jun 26 14:49:26 2012 +0100
[test] Add self-tests for TCP/IP checksum calculation
Signed-off-by: Michael Brown <mcb30@ipxe.org>
However I found the command "isset" always true although the value does not exist and the loop never ends.
#!ipxe
set idx:int32 0
:loop isset ${net${idx}/mac} || goto loop_done
echo net${idx} is a ${net${idx}/chip} with MAC ${net${idx}/mac}
inc idx && goto loop
:loop_done
The problem does not happen with the latest iPXE, could you hep to point out the commit that fixed above issue in old iPXE.
Thanks,
Brs,
Naruto