mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
mwan3: fix logical/typo bug in mwan3rtmon
This bug was introduced since dd206b7d0b
mwan3_remon_ipv4 and mwan3_remon_ipv6 is command to run not a variable
I add some comments on them hopefully people will notice it
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
This commit is contained in:
@@ -32,6 +32,8 @@ MM_BLACKHOLE=""
|
||||
MMX_UNREACHABLE=""
|
||||
MM_UNREACHABLE=""
|
||||
|
||||
# return true(=0) if has any mwan3 interface enabled
|
||||
# otherwise return false
|
||||
mwan3_rtmon_ipv4()
|
||||
{
|
||||
local tid=1
|
||||
@@ -61,6 +63,8 @@ mwan3_rtmon_ipv4()
|
||||
return $ret
|
||||
}
|
||||
|
||||
# return true(=0) if has any mwan3 interface enabled
|
||||
# otherwise return false
|
||||
mwan3_rtmon_ipv6()
|
||||
{
|
||||
local tid=1
|
||||
|
||||
Reference in New Issue
Block a user