Handle exceptionrule correctly with MASQUERADE.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-11-02 14:36:51 -07:00
parent 53d97bbcc8
commit 4169520d63
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -5624,6 +5624,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
if ( supplied $addresses ) {
validate_portpair1($proto, $addresses );
$target .= " --to-ports $addresses";
$exceptionrule = do_proto( $proto, '', '' );
}
}
#