summaryrefslogtreecommitdiff
path: root/NetworkPkg/Application/IfConfig6
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkPkg/Application/IfConfig6')
-rw-r--r--NetworkPkg/Application/IfConfig6/IfConfig6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Application/IfConfig6/IfConfig6.c b/NetworkPkg/Application/IfConfig6/IfConfig6.c
index 4cec44f8d5..8d464b8e61 100644
--- a/NetworkPkg/Application/IfConfig6/IfConfig6.c
+++ b/NetworkPkg/Application/IfConfig6/IfConfig6.c
@@ -127,7 +127,7 @@ SplitStrToList (
ARG_LIST *ArgList;
ARG_LIST *ArgNode;
- if (*String == L'\0' || *String == NULL) {
+ if (String == NULL || *String == L'\0') {
return NULL;
}