mirror of https://github.com/acidanthera/audk.git
Fix build issue in IPv4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10964 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b4f9bc4dc2
commit
da7ff6981d
|
@ -570,7 +570,7 @@ Ip4IpSecProcessPacket (
|
|||
IP_VERSION_4,
|
||||
(VOID *) (*Head),
|
||||
&(*Head)->Protocol,
|
||||
(VOID **)Options,
|
||||
(VOID **) Options,
|
||||
OptionsLen,
|
||||
(EFI_IPSEC_FRAGMENT_DATA **) (&FragmentTable),
|
||||
&FragmentCount,
|
||||
|
|
|
@ -254,7 +254,7 @@ Ip4Output (
|
|||
// Before IPsec process, prepared the IP head.
|
||||
//
|
||||
HeadLen = sizeof (IP4_HEAD) + ((OptLen + 3) & (~0x03));
|
||||
Head->HeadLen = (UINT8) HeadLen >> 2;
|
||||
Head->HeadLen = (UINT8) (HeadLen >> 2);
|
||||
Head->Id = mIp4Id++;
|
||||
Head->Ver = 4;
|
||||
|
||||
|
|
Loading…
Reference in New Issue