diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index aea0026cc..375078d37 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -4501,7 +4501,7 @@ sub do_helper( $ ) { validate_helper( $helper ); - if ( defiend wantarray ) { + if ( defined wantarray ) { $helper = $helpers_aliases{$helper} || $helper; qq(-m helper --helper $helper ); }