mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 03:54:34 +04:00
mwan3: fix addition of routes to mwan3_connected ipset
Addition of routes to mwan3_connected ipset is broken. The ipset name was changed from mwan3_connected_v4/6 to mwan3_connected_ipv4/6, but this change was not reflected in mwan3rtmon. Signed-off-by: Anna Tikhomirova <vamp@vampik.ru> * Update commit message Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
committed by
Florian Eckert
parent
fd2e20f66b
commit
84b3de9eda
@@ -75,7 +75,7 @@ mwan3_rtmon_route_handle()
|
|||||||
|
|
||||||
if [ "$route_line" = "$1" ]; then
|
if [ "$route_line" = "$1" ]; then
|
||||||
action="replace"
|
action="replace"
|
||||||
$IPS -! add mwan3_connected_${route_family##ip} ${route_line%% *}
|
$IPS -! add mwan3_connected_${route_family} ${route_line%% *}
|
||||||
else
|
else
|
||||||
action="del"
|
action="del"
|
||||||
mwan3_set_connected_${route_family}
|
mwan3_set_connected_${route_family}
|
||||||
|
|||||||
Reference in New Issue
Block a user