Commit 4defcbad authored by 神楽坂玲奈's avatar 神楽坂玲奈

link-quality

parent 7e1fd20c
...@@ -13,9 +13,9 @@ local-port-readwrite 33123 ...@@ -13,9 +13,9 @@ local-port-readwrite 33123
{% for connection in connections %} {% for connection in connections %}
{% if connection.protocol != "null" and not (connection.protocol == "oc" and connection.ocType == "server") and connection.remoteLocalAddress != address %} {% if connection.protocol != "null" and not (connection.protocol == "oc" and connection.ocType == "server") and connection.remoteLocalAddress != address %}
{% if connection.inbound %} {% if connection.inbound %}
interface {{connection.name}} type tunnel rxcost {{connection.metric}} faraway true rtt-max 500 interface {{connection.name}} type tunnel rxcost {{connection.metric}} faraway true link-quality true
{% else %} {% else %}
interface {{connection.name}} type tunnel rxcost 50000 faraway true rtt-max 500 interface {{connection.name}} type tunnel rxcost 50000 faraway true link-quality true
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
......
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