Fix IPv6 mask regex

This commit is contained in:
Calvin Montgomery 2014-06-02 20:59:35 -07:00
parent 862a7d876d
commit 626725031f
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ Channel.prototype.readLog = function (shouldMaskIP, cb) {
/(?:^|\s)(\d+\.\d+\.\d+)\.\d+/g,
"$1.x"
).replace(
/(?:^|\s)((?:[0-9a-f]+:){3}[0-9a-f]+):(?:[0-9a-f]+:){3}[0-9a-f]+$/,
/(?:^|\s)((?:[0-9a-f]+:){3}[0-9a-f]+):(?:[0-9a-f]+:){3}[0-9a-f]+/g,
"$1:x:x:x:x"
);
}