diff options
Diffstat (limited to 'StdLib/EfiSocketLib/Ip4.c')
-rw-r--r-- | StdLib/EfiSocketLib/Ip4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/EfiSocketLib/Ip4.c b/StdLib/EfiSocketLib/Ip4.c index 2d341269cc..9f885e96bf 100644 --- a/StdLib/EfiSocketLib/Ip4.c +++ b/StdLib/EfiSocketLib/Ip4.c @@ -204,7 +204,7 @@ EslIp4OptionGet ( break;
case IP_HDRINCL:
- *ppOptionData = (void *)pSocket->bIncludeHeader;
+ *ppOptionData = (void *)&pSocket->bIncludeHeader;
*pOptionLength = sizeof ( pSocket->bIncludeHeader );
break;
}
|