From e74eb3fd909f01ce70bf6ecac9a4701c061d1977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Mon, 16 May 2022 11:59:14 +0200 Subject: [PATCH] static-ip: dont set static proto --- package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip b/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip index 64236b77..57bd3230 100755 --- a/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip +++ b/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip @@ -105,8 +105,6 @@ local function static_ip(name, ifname, macaddr, actually_use) -- TODO: maybe modify the protos instead to allow reading static ips and using them? -- NOTE: wan also uses dhcp/static directly - uci:set('network', name, 'proto', 'static') - if site.prefix4 and static4 then local ip4 = ip.new(static4) if not ip4 or not ip4:is4() then