diff options
-rw-r--r-- | etc/network.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr index c221115..51173c5 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -265,7 +265,7 @@ ipv6if() # Returns 0 if the interface exists and 1 otherwise. ifexists() { - ifconfig $1 > /dev/null 2>&1 + ifconfig -n $1 > /dev/null 2>&1 } # ipv4_up if |