EFI_PXE_BASE_CODE_PROTOCOL has interface to set the TTL and ToS value, but not used by the UdpWrite() interface. The code always use a hard coded 16 for the TTL and 0 for ToS. This patch update the UpdWrite() to use the TTL and ToS which have been set by the SetParameters().
Fu Siyuan (2): NetworkPkg: Do not use hard coded TTL/ToS in PXE driver. MdeModulePkg: Do not use hard coded TTL/ToS in PXE driver. .../Universal/Network/UefiPxeBcDxe/PxeBcImpl.c | 6 ++++-- .../Universal/Network/UefiPxeBcDxe/PxeBcSupport.c | 12 ++++++++---- .../Universal/Network/UefiPxeBcDxe/PxeBcSupport.h | 14 +++++++++----- NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c | 6 ++++-- NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c | 12 ++++++++---- NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h | 22 +++++++++++++--------- 6 files changed, 46 insertions(+), 26 deletions(-) -- 2.7.4.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

