Merge pull request #1939 from gmacario/fix-issue-1692
fix IPV6NetworkMaskPrefixLength value parsing
This commit is contained in:
@@ -100,7 +100,7 @@ func listHostOnlyNetworks() (map[string]*hostOnlyNetwork, error) {
|
||||
case "IPV6Address":
|
||||
n.IPv6.IP = net.ParseIP(val)
|
||||
case "IPV6NetworkMaskPrefixLength":
|
||||
l, err := strconv.ParseUint(val, 10, 7)
|
||||
l, err := strconv.ParseUint(val, 10, 8)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user