mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 16:18:13 +01:00
Remove superfluous whitespace from Providers.pm
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f5262dd050
commit
0982fec513
@ -170,7 +170,6 @@ sub setup_route_marking() {
|
|||||||
#
|
#
|
||||||
# Clear the mark -- we have seen cases where the mark is non-zero even in the raw table chains!
|
# Clear the mark -- we have seen cases where the mark is non-zero even in the raw table chains!
|
||||||
#
|
#
|
||||||
|
|
||||||
if ( $config{ZERO_MARKS} ) {
|
if ( $config{ZERO_MARKS} ) {
|
||||||
add_ijump( $mangle_table->{$_}, j => 'MARK', targetopts => '--set-mark 0' ) for qw/PREROUTING OUTPUT/;
|
add_ijump( $mangle_table->{$_}, j => 'MARK', targetopts => '--set-mark 0' ) for qw/PREROUTING OUTPUT/;
|
||||||
}
|
}
|
||||||
@ -715,7 +714,6 @@ sub process_a_provider( $ ) {
|
|||||||
$mark = ( $lastmark += ( 1 << $config{PROVIDER_OFFSET} ) ) if $mark eq '-' && $track;
|
$mark = ( $lastmark += ( 1 << $config{PROVIDER_OFFSET} ) ) if $mark eq '-' && $track;
|
||||||
|
|
||||||
if ( $mark ne '-' ) {
|
if ( $mark ne '-' ) {
|
||||||
|
|
||||||
require_capability( 'MANGLE_ENABLED' , 'Provider marks' , '' );
|
require_capability( 'MANGLE_ENABLED' , 'Provider marks' , '' );
|
||||||
|
|
||||||
if ( $tproxy && ! $local ) {
|
if ( $tproxy && ! $local ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user