mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Remove log when check on non existing interface
This commit is contained in:
parent
75c9e1e317
commit
2bc7f78810
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ _check_server_intf() {
|
||||||
local host=$1
|
local host=$1
|
||||||
local port=$2
|
local port=$2
|
||||||
local valid_ip6=$(valid_subnet6 $host)
|
local valid_ip6=$(valid_subnet6 $host)
|
||||||
for intf in $(multipath | awk '/default/ {print $1}'); do
|
for intf in $(multipath 2>/dev/null | awk '/default/ {print $1}'); do
|
||||||
local k=0
|
local k=0
|
||||||
while [ "$server_ping" = false ] && [ "$k" -le "$retry" ]; do
|
while [ "$server_ping" = false ] && [ "$k" -le "$retry" ]; do
|
||||||
if [ "$valid_ip6" != "ok" ]; then
|
if [ "$valid_ip6" != "ok" ]; then
|
||||||
|
|
Loading…
Reference in a new issue