Correct H323 and netbios-ns handling.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-10-08 09:20:46 -07:00
parent b6d7e9ea96
commit fa500b9ea2

View File

@ -4014,7 +4014,14 @@ sub Helper_Match() {
sub have_helper( $$$ ) {
my ( $helper, $proto, $port ) = @_;
if ( $helpers_enabled{$helper} ) {
my $helper_base = $helper;
$helper_base =~ s/-\d$//;
$helper_base = $helpers_map{$helper_base};
$helper_base =~ s/_HELPER//;
$helper_base =~ s/_/-/;
if ( $helpers_enabled{lc $helper_base} ) {
if ( have_capability 'CT_TARGET' ) {
qt1( "$iptables $iptablesw -t raw -A $sillyname -p $proto --dport $port -j CT --helper $helper" );
} else {