From 32aec7a4f3f1aaabd8cff223346db560ddacb387 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Thu, 3 Mar 2011 21:01:17 +0000 Subject: [PATCH] modules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow connections from rfc1918 ip space to public ips --- build/mkversion.sh | 1 - modules/freifunk/root/etc/uci-defaults/freifunk | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 modules/freifunk/root/etc/uci-defaults/freifunk 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 -- 2.25.1