mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 09:04:07 +02:00
NetworkPkg/IScsiDxe: Fix the incorrect max length of IP_ADDRESS.
When creating the ISCSI string OpCode for IP_ADDRESS, the max length should be IP(4)_STR_MAX_SIZE instead of IP(4)_MAX_SIZE. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
This commit is contained in:
parent
5dfba97c4d
commit
8b134dfdad
@ -1009,7 +1009,7 @@ IScsiCreateKeywords (
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
IP4_MIN_SIZE,
|
IP4_MIN_SIZE,
|
||||||
IP4_MAX_SIZE,
|
IP4_STR_MAX_SIZE,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -1035,7 +1035,7 @@ IScsiCreateKeywords (
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
IP4_MIN_SIZE,
|
IP4_MIN_SIZE,
|
||||||
IP4_MAX_SIZE,
|
IP4_STR_MAX_SIZE,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -1061,7 +1061,7 @@ IScsiCreateKeywords (
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
IP4_MIN_SIZE,
|
IP4_MIN_SIZE,
|
||||||
IP4_MAX_SIZE,
|
IP4_STR_MAX_SIZE,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -1167,7 +1167,7 @@ IScsiCreateKeywords (
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
IP_MIN_SIZE,
|
IP_MIN_SIZE,
|
||||||
IP_MAX_SIZE,
|
IP_STR_MAX_SIZE,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user