Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c1548908c9e0873c77a59ee647a7dd6bdf833acf
      
https://github.com/tianocore/edk2/commit/c1548908c9e0873c77a59ee647a7dd6bdf833acf
  Author: Dan Nicholson <d...@endlessos.org>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c

  Log Message:
  -----------
  NetworkPkg: UefiPxeBcDxe: Fix error packet detection

Per RFC 1350, TFTP error packets include 2 byte OpCode and ErrorCode
fields in network byte order. Those need to be swapped to host order to
be interpreted correctly. Without this change, the TftpErrorReceived and
TftpError Mode fields are never set and EFI applications can't inspect
the error received from the TFTP server.

Signed-off-by: Dan Nicholson <d...@endlessos.org>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to