Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 941c70c

Browse files
committed
fix IPV6NetworkMaskPrefixLength value parsing #347
1 parent 0a3a250 commit 941c70c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

virtualbox/hostonlynet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func HostonlyNets() (map[string]*HostonlyNet, error) {
100100
case "IPV6Address":
101101
n.IPv6.IP = net.ParseIP(val)
102102
case "IPV6NetworkMaskPrefixLength":
103-
l, err := strconv.ParseUint(val, 10, 7)
103+
l, err := strconv.ParseUint(val, 10, 8)
104104
if err != nil {
105105
return nil, err
106106
}

0 commit comments

Comments
 (0)