mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-09-20 12:49:00 -04:00
PLG: UNFIMP set ip to null to prevent changes if not returned #1727
This commit is contained in:
1 parent
ffd5dbbaac
commit
f3e7545957
1 file changed
+1
-1
@@ -240,7 +240,7 @@ def get_ip(*ips: str) -> str:
|
||||
for ip in ips:
|
||||
if ip and ip != 'null':
|
||||
return ip
|
||||
return '0.0.0.0'
|
||||
return 'null'
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user