From ab17abc1c9ebedb898122532c7dacba28088c667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 22 Jun 2020 22:39:12 +0200 Subject: [PATCH] fix ipguard api call --- www/commands/server_setselfaddress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/commands/server_setselfaddress.php b/www/commands/server_setselfaddress.php index f9e0f3e..4f3dc28 100644 --- a/www/commands/server_setselfaddress.php +++ b/www/commands/server_setselfaddress.php @@ -9,6 +9,6 @@ $ip = get_client_ip(); file_put_contents(__DIR__ . '/../dynamic/self_ip_address.auto.cfg', $ip); -system('add-trusted-ip "' . $ip . '"'); +system('ipguard add "' . $ip . '"'); echo 'Ok.';