]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4ConfigDxe/NicIp4Variable.c
[Change summary]:
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4ConfigDxe / NicIp4Variable.c
index 012da5d33f9b50d14077e4f8064b4fbe6b74ac9b..17709af10703caa1e50c8b3723c75184428f4579 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
-  Routines used to operate the Ip4 configure variable\r
+  Routines used to operate the Ip4 configure variable.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation.<BR>                                                         \r
+Copyright (c) 2006 - 2009, Intel Corporation.<BR>                                                         \r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at<BR>\r
@@ -45,7 +45,7 @@ Ip4ConfigIsValid (
     Netmask = EFI_NTOHL (IpConfig->SubnetMask);\r
 \r
     if ((Netmask == 0) || !IP4_IS_VALID_NETMASK (Netmask) ||\r
-        (Station == 0) || !Ip4IsUnicast (Station, Netmask)) {\r
+        (Station == 0) || !NetIp4IsUnicast (Station, Netmask)) {\r
       return FALSE;\r
     }\r
 \r
@@ -57,7 +57,7 @@ Ip4ConfigIsValid (
       Gateway = EFI_NTOHL (IpConfig->RouteTable[Index].GatewayAddress);\r
 \r
       if ((Gateway != 0) && (!IP4_NET_EQUAL (Station, Gateway, Netmask) ||\r
-          !Ip4IsUnicast (Gateway, Netmask))) {\r
+          !NetIp4IsUnicast (Gateway, Netmask))) {\r
         return FALSE;\r
       }\r
     }\r
@@ -261,7 +261,7 @@ Ip4ConfigFindNicVariable (
 **/\r
 IP4_CONFIG_VARIABLE *\r
 Ip4ConfigModifyVariable (\r
-  IN IP4_CONFIG_VARIABLE    *Variable,    OPTIONAL\r
+  IN IP4_CONFIG_VARIABLE    *Variable     OPTIONAL,\r
   IN NIC_ADDR               *NicAddr,\r
   IN NIC_IP4_CONFIG_INFO    *Config       OPTIONAL\r
   )\r