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

Fix for issue #43 #52

Merged
merged 2 commits into from
Aug 18, 2013
Merged

Fix for issue #43 #52

merged 2 commits into from
Aug 18, 2013

Conversation

wolfspyre
Copy link
Contributor

Try to detect situations wherein we do not have a nexthop ip, and respond gracefully.

my_gw = gw_address.split(/\s+/)[2].match(/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/).to_s
end
end
Copy link
Member

Choose a reason for hiding this comment

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

Whitespace damage

@adrienthebo
Copy link
Member

The commit message could stand a bit of cleanup and trailing whitespace should be removed, but aside from that this looks good. This code is starting to a look a bit complex though, so at some point we should think about extracting code into a utility class.

adrienthebo added a commit that referenced this pull request Aug 18, 2013
@adrienthebo adrienthebo merged commit 1b2deba into voxpupuli:master Aug 18, 2013
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