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.';