From 0cb8eb3b0c28451ef26bc0b7aa1fe5c8463ec12b Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Fri, 14 Jun 2013 21:58:02 +0000 Subject: 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 --- .../freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/package/freifunk-policyrouting/files/etc') 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 df98c982b8..b3720e60ac 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 -- cgit v1.2.3