mirror of https://github.com/calzoneman/sync.git
Fix IPv6 mask regex
This commit is contained in:
parent
862a7d876d
commit
626725031f
|
@ -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"
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue