Another change to allow builtin actions as default actions.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-02-06 13:25:10 -08:00
parent 8bc70674f3
commit b2553fb008
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -930,7 +930,7 @@ sub add_policy_rules( $$$$$ ) {
for my $default ( @defaults ) {
my ( $action ) = split ':', $default;
if ( ( $targets{$action} || 0 ) == ACTION ) {
if ( ( $targets{$action} || 0 ) & ACTION ) {
#
# Default action is a regular action -- jump to the action chain
#