From ae46c8193bb84db448ea90285fd8f0f04b89153f Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 16 May 2010 19:28:49 -0700 Subject: [PATCH] Fix an existing bug in Shorewall6 Signed-off-by: Tom Eastep --- Shorewall/Perl/prog.header6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/prog.header6 b/Shorewall/Perl/prog.header6 index f99f65c5b..b5d0ae5ba 100644 --- a/Shorewall/Perl/prog.header6 +++ b/Shorewall/Perl/prog.header6 @@ -178,7 +178,7 @@ find_default_interface() { # Determine if Interface is up # interface_is_up() { - [ -n "$($IP link list dev $1 2> /dev/null | grep -e '[<,]UP[,>]')" ] + [ -n "$($IP -6 link list dev $1 2> /dev/null | grep -e '[<,]UP[,>]')" ] } #