summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-06-14 21:58:02 +0000
committerManuel Munz <freifunk@somakoma.de>2013-06-14 21:58:02 +0000
commit0cb8eb3b0c28451ef26bc0b7aa1fe5c8463ec12b (patch)
tree174d92dbb8123a7e0e6c0344437d0411094c32cc /contrib
parentb543594e5e175fe96d8f9ed985f6f04cdeee7d10 (diff)
contrib/freifunk-policyrouting: User higher prio for fallback ip rule so that this rule will be after all rules which are added by netifd for openwrts new native ip support
Diffstat (limited to 'contrib')
-rw-r--r--contrib/package/freifunk-policyrouting/Makefile2
-rwxr-xr-xcontrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting4
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/package/freifunk-policyrouting/Makefile b/contrib/package/freifunk-policyrouting/Makefile
index a5f576e98..22fdc59cb 100644
--- a/contrib/package/freifunk-policyrouting/Makefile
+++ b/contrib/package/freifunk-policyrouting/Makefile
@@ -4,7 +4,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=freifunk-policyrouting
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
diff --git a/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting b/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting
index df98c982b..b3720e60a 100755
--- a/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting
+++ b/contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting
@@ -88,7 +88,7 @@ add_lookup_rule() {
else
rule="rule"
fi
-
+
uci batch <<- EOF
set network.${name}ipv${p}="$rule"
set network.${name}ipv${p}.lookup="$lookup"
@@ -116,7 +116,7 @@ start() {
add_lookup_rule localnets localnets 2000
if [ "$fallback" = 1 ]; then
- add_lookup_rule olsr-default olsr-default 33000
+ add_lookup_rule olsr-default olsr-default 100000
fi
fi
uci commit network