Commit b7d04ab1 authored by nanahira's avatar nanahira

fix

parent d4a1f049
......@@ -15,7 +15,9 @@ if [ "$dev" == "mc-yangtze" ] ; then
{% if gateway.route_tail != "" %}
ip route add default {{gateway.route_tail}} table {{gateway.mark}}
{% endif %}
{% if gateway.route_tail != "" or gateway.isp == "tr069" %}
ip rule add pref 301 fwmark {{gateway.mark}} lookup {{gateway.mark}}
{% endif %}
{% endfor %}
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment