From 1869311343efb546ea0a5a47cda7572d863a029a Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 9 Jun 2009 08:51:45 -0700 Subject: 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 --- core/pxelinux.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1