From 1f621002b7e5430e34196553658c9981dd7cc23b Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 12 May 2012 19:38:18 -0700 Subject: [PATCH] Ignore 'isusable' on 'enable' Signed-off-by: Tom Eastep --- Shorewall/lib.core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/lib.core b/Shorewall/lib.core index 77d00ca9b..e8dbb21ad 100644 --- a/Shorewall/lib.core +++ b/Shorewall/lib.core @@ -176,7 +176,7 @@ interface_is_up() { # interface_is_usable() # $1 = interface { - [ "$1" = lo ] && return 0 + [ "$1" = lo -o $COMMAND = enable ] && return 0 interface_is_up $1 && [ "$(find_first_interface_address_if_any $1)" != :: ] && run_isusable_exit $1 }