diff options
author | Manuel Munz <freifunk@somakoma.de> | 2013-06-14 21:58:02 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2013-06-14 21:58:02 +0000 |
commit | 0cb8eb3b0c28451ef26bc0b7aa1fe5c8463ec12b (patch) | |
tree | 174d92dbb8123a7e0e6c0344437d0411094c32cc /contrib/package/freifunk-policyrouting/files/etc | |
parent | b543594e5e175fe96d8f9ed985f6f04cdeee7d10 (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/package/freifunk-policyrouting/files/etc')
-rwxr-xr-x | contrib/package/freifunk-policyrouting/files/etc/init.d/freifunk-policyrouting | 4 |
1 files changed, 2 insertions, 2 deletions
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 |