mirror of https://github.com/acidanthera/audk.git
NetworkPkg/UefiPxeBcDxe: Fix the redundant condition check
Cc: Santhapur Naveen <naveens@amiindia.co.in> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
parent
62634215f3
commit
69cc013ca5
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Support functions implementation for UefiPxeBc Driver.
|
Support functions implementation for UefiPxeBc Driver.
|
||||||
|
|
||||||
Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -424,7 +424,7 @@ PxeBcIcmp6ErrorDpcHandle (
|
||||||
|
|
||||||
if (Type != ICMP_V6_DEST_UNREACHABLE &&
|
if (Type != ICMP_V6_DEST_UNREACHABLE &&
|
||||||
Type != ICMP_V6_PACKET_TOO_BIG &&
|
Type != ICMP_V6_PACKET_TOO_BIG &&
|
||||||
Type != ICMP_V6_PACKET_TOO_BIG &&
|
Type != ICMP_V6_TIME_EXCEEDED &&
|
||||||
Type != ICMP_V6_PARAMETER_PROBLEM) {
|
Type != ICMP_V6_PARAMETER_PROBLEM) {
|
||||||
//
|
//
|
||||||
// The type of the receveid packet should be an ICMP6 error message.
|
// The type of the receveid packet should be an ICMP6 error message.
|
||||||
|
|
Loading…
Reference in New Issue