Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't make adjacency edges into 'the internet' if they refer to valid nodes #197

Merged
merged 2 commits into from
Jun 10, 2015

Conversation

tomwilkie
Copy link
Contributor

Fixes #196


ip := f(id)
return ip == nil || !netsContain(localNets, ip)
}

This comment was marked as abuse.

@tomwilkie tomwilkie force-pushed the 196-foo branch 2 times, most recently from 1448f4f to c94f4a2 Compare June 10, 2015 08:46
@@ -201,9 +202,13 @@ func InternetOnlyPseudoNode(_ string, _ RenderableNode, dst string) (MappedNode,
//
// TODO change how pseudofuncs work, and eliminate this helper.
func trySplitAddr(addr string) (string, string) {
log.Println(addr)

This comment was marked as abuse.

@peterbourgon
Copy link
Contributor

Apart from that one extra Println, LGTM!

@peterbourgon peterbourgon removed their assignment Jun 10, 2015
tomwilkie added a commit that referenced this pull request Jun 10, 2015
Don't make adjacency edges into 'the internet' if they refer to valid nodes
@tomwilkie tomwilkie merged commit 6167592 into weaveworks:master Jun 10, 2015
@tomwilkie tomwilkie deleted the 196-foo branch June 10, 2015 09:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants