1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00
Ycarus (Yannick Chabanois) 2024-03-04 17:44:46 +01:00
parent 07b7ae39da
commit 23ce6c02e7

View file

@ -80,7 +80,7 @@ interface_macaddr_count() {
interface_max_metric() {
local config="$1"
if [ "$1" != "omrvpn" ] && [ "$1" != "omr6in4" ]; then
if [ "$1" != "omrvpn" ] && [ "$1" != "omr6in4" ] && [ "$1" != "lan" ]; then
config_get metric "$config" metric
if [ "$metric" = "$count" ]; then
count=$((count+1))