diff options
Diffstat (limited to 'ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c')
-rw-r--r-- | ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c index 2e8a09fc33..94c9c021ac 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c @@ -1657,9 +1657,9 @@ ShellCommandRunIfconfig ( ListOperation = ShellCommandLineGetFlag(Package, L"-l");
SetOperation = ShellCommandLineGetFlag(Package, L"-s");
- if (ClearOperation && ListOperation
- ||SetOperation && ListOperation
- ||ClearOperation && SetOperation
+ if ((ClearOperation && ListOperation)
+ ||(SetOperation && ListOperation)
+ ||(ClearOperation && SetOperation)
) {
ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_PARAM_CON), gShellNetwork1HiiHandle);
ShellStatus = SHELL_INVALID_PARAMETER;
|