diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index e519badc3..564cb8d19 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -203,15 +203,7 @@ sub new_action( $ ) { my $action = $_[0]; - $actions{$action} = { actchain => '', requires => {} }; -} - -# -# Record a 'requires' relationship between a pair of actions. -# -sub add_requiredby ( $$ ) { - my ($requiredby , $requires ) = @_; - $actions{$requires}{requires}{$requiredby} = 1; + $actions{$action} = { actchain => '' }; } # @@ -597,7 +589,6 @@ sub process_actions3 () { 'Limit' => \&Limit, ); while ( my ( $wholeaction, $chainref ) = each %usedactions ) { - assert( $chainref->{name} ); my ( $action, $level, $tag, $param ) = split /:/, $wholeaction; if ( $targets{$action} & BUILTIN ) {