Bios: support IPv4-mapped IPv6 address length

The existing code will allow ::<ipv4_address> without
any error. However, if the address is expanded like the
below, there will be "length out of range" error:
0000:0000:0000:0000:0000:ffff:xxx.xxx.xxx.xxx

This commit changes the maximum string length of
IPv6 address from 39 to 45, to support IPv4-mapped
IPv6 address.

Change-Id: I8c6e90e5a0ddbf38e7826e5918408b5d29811bfd
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
diff --git a/oem/ibm/configurations/bios/string_attrs.json b/oem/ibm/configurations/bios/string_attrs.json
index 25a6915..ea03874 100644
--- a/oem/ibm/configurations/bios/string_attrs.json
+++ b/oem/ibm/configurations/bios/string_attrs.json
@@ -70,7 +70,7 @@
             "attribute_name": "vmi_if0_ipv6_gateway",
             "string_type": "ASCII",
             "minimum_string_length": 2,
-            "maximum_string_length": 39,
+            "maximum_string_length": 45,
             "default_string_length": 2,
             "default_string": "::",
             "helpText": "vmi_if0_ipv6_gateway",
@@ -80,7 +80,7 @@
             "attribute_name": "vmi_if1_ipv6_gateway",
             "string_type": "ASCII",
             "minimum_string_length": 2,
-            "maximum_string_length": 39,
+            "maximum_string_length": 45,
             "default_string_length": 2,
             "default_string": "::",
             "helpText": "vmi_if1_ipv6_gateway",
@@ -90,7 +90,7 @@
             "attribute_name": "vmi_if0_ipv6_ipaddr",
             "string_type": "ASCII",
             "minimum_string_length": 2,
-            "maximum_string_length": 39,
+            "maximum_string_length": 45,
             "default_string_length": 2,
             "default_string": "::",
             "helpText": "vmi_if0_ipv6_ipaddr",
@@ -100,7 +100,7 @@
             "attribute_name": "vmi_if1_ipv6_ipaddr",
             "string_type": "ASCII",
             "minimum_string_length": 2,
-            "maximum_string_length": 39,
+            "maximum_string_length": 45,
             "default_string_length": 2,
             "default_string": "::",
             "helpText": "vmi_if1_ipv6_ipaddr",