On 7/5/10 9:36 AM, Steven Jan Springl wrote:
> Tom
> 
> When REQUIRE_INTERFACE=Yes is specified in shorewall.conf, a closing quote is 
> missing on the startup_error function call. See the following section of code 
> from /var/lib/shorewall/.start 
> 
> if [ -z "$HAVE_INTERFACE" ]; then
>               case "$COMMAND" in
>                   start|restart|restore|refresh)
>                       if shorewall_is_started; then
>                           fatal_error "No network interface available"
>                       else
>                           startup_error "No network interface available
>                       fi
>                       ;;
>               esac
>           fi

Thanks, Steven.

The attached patch should fix you up.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Providers.pm 
b/Shorewall/Perl/Shorewall/Providers.pm
index 82579b3..0fddf35 100644
--- a/Shorewall/Perl/Shorewall/Providers.pm
+++ b/Shorewall/Perl/Shorewall/Providers.pm
@@ -907,7 +907,7 @@ sub handle_optional_interfaces( $ ) {
 
            emit( '                fatal_error "No network interface 
available"',
                  '            else',
-                 '                startup_error "No network interface 
available',
+                 '                startup_error "No network interface 
available"',
                  '            fi',
                  '            ;;',
                  '    esac',

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to