diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2018-09-07 16:47:30 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2018-09-10 08:39:34 +0800 |
commit | 4b2dc555d8a67e715d8fafab4c9131791d31a788 (patch) | |
tree | 400623252e8ad684ccd4d63f5fb0a0c9e05e4ba2 /ShellPkg/Library | |
parent | 40a7b235e4359b4e2eb4d379d1c543b9cae11346 (diff) | |
download | edk2-4b2dc555d8a67e715d8fafab4c9131791d31a788.tar.gz edk2-4b2dc555d8a67e715d8fafab4c9131791d31a788.tar.bz2 edk2-4b2dc555d8a67e715d8fafab4c9131791d31a788.zip |
ShellPkg: Remove trailing white space
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1158
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r-- | ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c index e9f644c739..cdc6db69c3 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c @@ -1032,7 +1032,7 @@ IfConfigSetInterfaceInfo ( SubnetMask = NTOHL (SubnetMask);
TempGateway = NTOHL (TempGateway);
if ((SubnetMask != 0) &&
- (SubnetMask != 0xFFFFFFFFu) &&
+ (SubnetMask != 0xFFFFFFFFu) &&
!NetIp4IsUnicast (TempGateway, SubnetMask)) {
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INVALID_GATEWAY), gShellNetwork1HiiHandle, VarArg->Arg);
ShellStatus = SHELL_INVALID_PARAMETER;
|