Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkPkg: UefiPxeBcDxe: Fix error packet detection #6287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 3, 2024

  1. 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 <dbn@endlessos.org>
    dbnicholson committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    5a39ca0 View commit details
    Browse the repository at this point in the history