summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-03-03 21:01:17 +0000
committerManuel Munz <freifunk@somakoma.de>2011-03-03 21:01:17 +0000
commit32aec7a4f3f1aaabd8cff223346db560ddacb387 (patch)
tree74ec99fb794cd8a00aa2054b0b03229049c9d02f
parentc3357a031cc90c41481661aafba0c987956fe8fb (diff)
modules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow connections from rfc1918 ip space to public ips
-rwxr-xr-xbuild/mkversion.sh1
-rw-r--r--modules/freifunk/root/etc/uci-defaults/freifunk2
2 files changed, 2 insertions, 1 deletions
diff --git a/build/mkversion.sh b/build/mkversion.sh
index 1b1819eca..afb34b415 100755
--- a/build/mkversion.sh
+++ b/build/mkversion.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-
if [ "${4%%/*}" = "branches" ]; then
variant="LuCI ${4##*[-/]} Branch"
elif [ "${4%%/*}" = "tags" ]; then
diff --git a/modules/freifunk/root/etc/uci-defaults/freifunk b/modules/freifunk/root/etc/uci-defaults/freifunk
new file mode 100644
index 000000000..fe6586c22
--- /dev/null
+++ b/modules/freifunk/root/etc/uci-defaults/freifunk
@@ -0,0 +1,2 @@
+uci set uhttpd.main.rfc1918_filter=0
+uci commit uhttpd