From 1ad2134aecd107dfe2c9317948f4d6d5d91a23bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Sun, 19 Dec 2021 10:36:35 +0100 Subject: [PATCH] static-ip: don't del proto --- package/gluon-static-ip/luasrc/lib/gluon/upgrade/240-static-ip | 1 - 1 file changed, 1 deletion(-) diff --git a/package/gluon-static-ip/luasrc/lib/gluon/upgrade/240-static-ip b/package/gluon-static-ip/luasrc/lib/gluon/upgrade/240-static-ip index da097f02..f3ef4dda 100755 --- a/package/gluon-static-ip/luasrc/lib/gluon/upgrade/240-static-ip +++ b/package/gluon-static-ip/luasrc/lib/gluon/upgrade/240-static-ip @@ -45,7 +45,6 @@ local function static_ip_4(name, ifname, macaddr, actually_use) uci:set('network', name, 'netmask', ip4:mask():string()) else if uci:get('network', name, 'proto') == 'static' then - uci:del('network', name, 'proto') uci:del('network', name, 'ipaddr') uci:del('network', name, 'netmask') end