add missing IPs calculation
This commit is contained in:
parent
72508fa2ef
commit
9f946ca4a4
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue