From 07ab04e668a1acad7836202092606d05afda1878 Mon Sep 17 00:00:00 2001 From: UAb5eSMn <5942222+UAb5eSMn@users.noreply.github.com> Date: Sat, 26 Sep 2026 15:19:32 +0200 Subject: [PATCH] web: Change ip, netmask and gw network settings at the same time --- html/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/app.js b/html/app.js index bc4e1692..32d75743 100644 --- a/html/app.js +++ b/html/app.js @@ -1766,7 +1766,7 @@ $("sy-apply").addEventListener("click",function(){ if(!/^[\x21-\x7e]{1,23}$/.test(hn)||/["\\]/.test(hn)){toast(t("sy_host_err"),"err");return;} cmds.push("hostname "+hn); } - cmds.push("ip "+ip,"netmask "+mask,"gw "+gw); + cmds.push("ip "+ip+"\nnetmask "+mask+"\ngw "+gw); var changingIp=ip!==S.info.ip_address; confirmModal(t("sy_net_q"),changingIp?t("sy_net_d",{ip:ip}):"",function(){ postCmds(cmds).then(function(){