1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-03 05:25:10 +00:00

Fixed typo in Cleanse IP

This commit is contained in:
Taloth Saldono 2020-06-03 18:33:00 +02:00 committed by ta264
parent 0c16d7a130
commit d89ca5a8d1

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;