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

[#20862] Add functions to validate ipv4 and ipv6 addresses #158

Merged
merged 4 commits into from Jun 7, 2013

Conversation

wfarr
Copy link
Contributor

@wfarr wfarr commented May 23, 2013

Plenty of software out there still supports IPv4 only, and it’s helpful to make sure that the bind addresses given to modules are of a certain class of IP.

@wfarr
Copy link
Contributor Author

wfarr commented May 23, 2013

Need to update some of the examples; pre 3xx patch levels of 1.9.3 seem to allow invalid IPv6 addresses to be passed in.

@wfarr
Copy link
Contributor Author

wfarr commented May 23, 2013

1.8.7 also seems to be confused about IPv6 in general.

end
end

# 1.8.7 is EOL'd and also absolutely insane about ipv6
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the behavior of ruby 1.8.7 and ipv6? Do we need to add a note about this in the method documentation?

@adrienthebo
Copy link
Contributor

@wfarr I still don't fully understand the behavior of this code on Ruby 1.8.7 (#158 (comment)), would you be able to update this pull request this week with that information?

adrienthebo added a commit that referenced this pull request Jun 7, 2013
[#20862] Add functions to validate ipv4 and ipv6 addresses
@adrienthebo adrienthebo merged commit ca7633c into puppetlabs:master Jun 7, 2013
@adrienthebo
Copy link
Contributor

summary: merged into master in ca7633c. I would still like to know what's the story behind #158 (comment) but I would rather get this in now than wait any longer.

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

Successfully merging this pull request may close these issues.

None yet

3 participants