1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Another fix for loop detection

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-05-21 08:40:49 +02:00
parent bdd71c2010
commit a24ef0b984

View file

@ -1126,7 +1126,7 @@ if [ "$(uci -q get openmptcprouter.$OMR_TRACKER_INTERFACE.lc)" = "" ] || [ $(($(
}
# Routing loop detection
local lanip="$(uci -q network.lan.ipaddr)"
local lanip="$(uci -q get network.lan.ipaddr)"
local masterip
get_master_ip() {
if [ "$(uci -q get openmptcprouter.$1.multipath)" = "master" ]; then