Skip to content

Conversation

@evanlucas
Copy link
Contributor

This commit removes duplicate calls to net.isIPv4 and net.isIPv6.
net.isIP() returns 4 for an IPv4 address and 6 for an IPv6 address.

This commit removes duplicate calls to net.isIPv4 and net.isIPv6. net.isIP() returns 4 for an IPv4 address and 6 for an IPv6 address.
Copy link
Owner

@runk runk left a comment

Choose a reason for hiding this comment

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

LGTM!

@runk runk merged commit bd02a21 into runk:master Nov 14, 2016
@evanlucas evanlucas deleted the fixdupe branch November 14, 2016 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants