git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
57def3c
)
Added FW rule for splash hotspot portal
author
Steven Barth
<redacted>
Mon, 22 Sep 2008 00:15:38 +0000
(
00:15
+0000)
committer
Steven Barth
<redacted>
Mon, 22 Sep 2008 00:15:38 +0000
(
00:15
+0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
patch
|
blob
|
history
diff --git
a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index d7cf400945161b93d53206a386f823d80b4f59c0..87bbe4d1f29cf480239d977351523a9d734aac96 100644
(file)
--- a/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@
-298,6
+298,17
@@
function client.write(self, section, value)
dest_port="67",
target="ACCEPT"
})
+ uci:delete_all("firewall", "rule", {
+ src="freifunk",
+ proto="tcp",
+ dest_port="8082",
+ })
+ uci:section("firewall", "rule", nil, {
+ src="freifunk",
+ proto="tcp",
+ dest_port="8082",
+ target="ACCEPT"
+ })
git clone https://git.99rst.org/PROJECT