Fixed typo in Cleanse IP

This commit is contained in:
Taloth Saldono 2020-06-03 18:33:00 +02:00 committed by Qstick
parent 3d86e29972
commit c152cc2517

View file

@ -83,7 +83,7 @@ private static string CleanseRemoteIP(Match match)
var postfix = match.Value.Substring(group.Index + group.Length - match.Index);
var items = valueIP.Split('.');
return $"{prefix}{items[0]}.*.*.{items[0]}{postfix}";
return $"{prefix}{items[0]}.*.*.{items[3]}{postfix}";
}
return match.Value;