]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Option.c
1. Enable Network stack to pass SCT, currently MNP, ARP, IP4, TCP4 and DHCP4 have...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4Option.c
index e1f059e89ff8a4126f9b9feabc625268870f041e..322166f657a0ce833269c3414629031c6d5c8524 100644 (file)
@@ -47,9 +47,9 @@ Ip4OptionIsValid (
   UINT32                    Cur;\r
   UINT32                    Len;\r
   UINT32                    Point;\r
-  UINT8                     IcmpType;\r
-  UINT8                     IcmpCode;\r
-  UINT32                    IcmpPoint;\r
+  volatile UINT8            IcmpType;\r
+  volatile UINT8            IcmpCode;\r
+  volatile UINT32           IcmpPoint;\r
 \r
   IcmpType  = ICMP_PARAMETER_PROBLEM;\r
   IcmpCode  = 0;\r