Skip to content

Commit

Permalink
strip interface from link local ipv6 fixes #32
Browse files Browse the repository at this point in the history
  • Loading branch information
tjfontaine committed Jan 10, 2013
1 parent 0907d24 commit 03de61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Expand Up @@ -170,7 +170,7 @@ TCPSocket.prototype.remote = function() {

exports.reverseIP = function(ip) {
var address, kind, reverseip, parts;
address = ipaddr.parse(ip);
address = ipaddr.parse(ip.split(/%/)[0]);
kind = address.kind();

switch (kind) {
Expand Down

0 comments on commit 03de61f

Please sign in to comment.