add ip_version to webhook log
This commit is contained in:
parent
438cb99c46
commit
5f517e39e0
@ -58,6 +58,6 @@ def execute():
|
||||
|
||||
# Send a webhook notification with client IP and command output
|
||||
if not result['error'] and webhook:
|
||||
send_webhook(webhook['url'], f"Client IP: `{request.remote_addr}`\nDevice: `{input_device}`\nCommand: `{input_command} {input_target}`")
|
||||
send_webhook(webhook['url'], f"Client IP: `{request.remote_addr}`\nDevice: `{input_device}`\nCommand: `{input_command} -{ip_version} {input_target}`")
|
||||
|
||||
return result
|
||||
|
Loading…
x
Reference in New Issue
Block a user