forked from extern/shorewall_code
Streamline some code from the last commit
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
417bd0138e
commit
6771dc54ad
@ -229,9 +229,7 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
|
||||
|
||||
sub handle_mark_param( $$ ) {
|
||||
my ( $option, $marktype ) = @_;
|
||||
my $and_or = $1 if $params =~ s/^([|&])//;
|
||||
|
||||
$and_or ||= '';
|
||||
my $and_or = $params =~ s/^([|&])// ? $1 : '';
|
||||
|
||||
if ( $params =~ /-/ ) {
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user