Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Ensure that the local IP address is global unicast #861

Merged
merged 2 commits into from
Sep 3, 2014

Conversation

bcwaldon
Copy link
Contributor

@bcwaldon bcwaldon commented Sep 3, 2014

No description provided.

Advertising that address doesn't do much good if it isn't routable.
@jonboulle
Copy link
Contributor

:shipit:

{net.ParseIP("2001:DB8::3"), false},

// link-local IPv4/6 unusable
{net.ParseIP("127.0.0.12"), false},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a loopback. The link-local IPv4 have the 169.254 prefix.

@bcwaldon
Copy link
Contributor Author

bcwaldon commented Sep 3, 2014

@crawford fixed comment and added testing for link-local

@crawford
Copy link
Contributor

crawford commented Sep 3, 2014

🚢

bcwaldon added a commit that referenced this pull request Sep 3, 2014
Ensure that the local IP address is global unicast
@bcwaldon bcwaldon merged commit 13d90a0 into coreos:master Sep 3, 2014
@bcwaldon bcwaldon deleted the localip branch September 3, 2014 00:45
@bcwaldon bcwaldon added this to the v0.8.0 milestone Sep 5, 2014
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 this pull request may close these issues.

3 participants