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

vm init fails parsing hostonlyifs output #347

Closed
aldafu opened this issue Feb 19, 2015 · 0 comments · Fixed by #349
Closed

vm init fails parsing hostonlyifs output #347

aldafu opened this issue Feb 19, 2015 · 0 comments · Fixed by #349

Comments

@aldafu
Copy link
Contributor

aldafu commented Feb 19, 2015

This is on Win 8.1.

The error is:

Boot2Docker init
error in run: Failed to initialize machine "boot2docker-vm": strconv.ParseUint:
parsing "128": value out of range

The output that needs to be parsed includes:
IPV6NetworkMaskPrefixLength: 128

That value is then parsed by this code:

l, err := strconv.ParseUint(val, 10, 7)

strconv.ParseUint(val, 10, 7) will fail when val is 128.

bit size should be increased to 8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant