add missing IPs calculation

This commit is contained in:
erenJag 2020-05-25 15:22:06 +02:00
parent 72508fa2ef
commit 9f946ca4a4

View file

@ -64,6 +64,8 @@ func simpleBanToSignal(targetIP string, reason string, expirationStr string, act
if parsedIP == nil {
return signalOcc, fmt.Errorf("'%s' is not a valid IP", targetIP)
}
banApp.StartIp = types.IP2Int(parsedIP)
banApp.EndIp = types.IP2Int(parsedIP)
}
var banApps = make([]types.BanApplication, 1)