From 16654183664f14a7c6be0ca701c693c301a93321 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 13 Sep 2008 23:21:32 +0000 Subject: FF-Wizard: Set interface protocol to static, don't add the zone to network if it does not match an existing interface --- applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua') diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua index 5245a92f15..cdace2b73e 100644 --- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua +++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua @@ -178,6 +178,7 @@ function main.write(self, section, value) -- Crate network interface local netconfig = _strip_internals(uci:get_all("freifunk", "interface")) + netconfig.proto = "static" netconfig.ipaddr = ip uci:section("network", "interface", device, netconfig) -- cgit v1.2.3