Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Don't assume pseudo nodes have edges _away_ from them #426

Merged
merged 2 commits into from
Sep 2, 2015

Conversation

tomwilkie
Copy link
Contributor

Fixes #422

@@ -66,7 +66,7 @@ func MapEndpointIdentity(m report.NodeMetadata, local report.Networks) Renderabl

// We are a 'client' pseudo node if the port is in the ephemeral port range.
// Linux uses 32768 to 61000.
if p, err := strconv.Atoi(port); err == nil && p >= 32768 && p < 61000 {
if p, err := strconv.Atoi(port); err == nil && len(m.Adjacency) > 0 && p >= 32768 && p < 61000 {

This comment was marked as abuse.

@peterbourgon
Copy link
Contributor

👍 pending Circle.

tomwilkie added a commit that referenced this pull request Sep 2, 2015
Don't assume pseudo nodes have edges _away_ from them
@tomwilkie tomwilkie merged commit 9cab3f3 into master Sep 2, 2015
@tomwilkie tomwilkie deleted the 422-panic-map-addr branch September 2, 2015 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants