contrib/freifunk-policyrouting: User higher prio for fallback ip rule so that this...
authorManuel Munz <freifunk@somakoma.de>
Fri, 14 Jun 2013 21:58:02 +0000 (21:58 +0000)
committerManuel Munz <freifunk@somakoma.de>
Fri, 14 Jun 2013 21:58:02 +0000 (21:58 +0000)
contrib/package/freifunk-policyrouting/Makefile
contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting

index a5f576e9805a15e31dac70b2c642abf36a273114..22fdc59cb42e12e845649fed048c4fbd0d466d21 100644 (file)
@@ -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)
 
index df98c982b84e3aa181e2311803a1392ce052c6be..b3720e60ac208457c92fc402005b8a19286d3969 100755 (executable)
@@ -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