mwan3: fix rpcd with for routers with no IPv6 support

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
This commit is contained in:
Aaron Goodman
2020-10-29 23:06:25 -04:00
parent f1bfda4c37
commit 13d22445e4
3 changed files with 5 additions and 5 deletions
+3
View File
@@ -23,6 +23,9 @@ MMX_UNREACHABLE=""
MM_UNREACHABLE=""
MAX_SLEEP=$(((1<<31)-1))
command -v ip6tables > /dev/null
NO_IPV6=$?
LOG()
{
local facility=$1; shift
-3
View File
@@ -24,9 +24,6 @@ IPv4_REGEX="((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[0
DEFAULT_LOWEST_METRIC=256
command -v ip6tables > /dev/null
NO_IPV6=$?
mwan3_push_update()
{
# helper function to build an update string to pass on to