diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-09 08:51:45 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-09 08:51:45 -0700 |
commit | 1869311343efb546ea0a5a47cda7572d863a029a (patch) | |
tree | 0f3876c3f8283c58b7d74df27670fc9a8ef7f698 | |
parent | 1feb9b05ea0b9690a5e5af8b5919d63d6979a2eb (diff) | |
download | syslinux-1869311343efb546ea0a5a47cda7572d863a029a.tar.gz |
pxelinux: revert to using TFTP error 8
The main reason for ERROR is OACK parsing failure, so revert to using
error code 8 (but a fixed text error.)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/pxelinux.asm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pxelinux.asm b/core/pxelinux.asm index cbfae52f..0e65e073 100644 --- a/core/pxelinux.asm +++ b/core/pxelinux.asm @@ -2736,9 +2736,10 @@ tftp_opts equ ($-tftp_opt_table)/6 ; ; Error packet to return on TFTP protocol error +; Most of our errors are OACK parsing errors, so use that error code ; tftp_proto_err dw TFTP_ERROR ; ERROR packet - dw TFTP_EUNDEF ; ERROR 0: undefined + dw TFTP_EOPTNEG ; ERROR 8: OACK error db 'TFTP protocol error', 0 ; Error message tftp_proto_err_len equ ($-tftp_proto_err) |