forked from extern/shorewall_code
Finish SAME fix
This commit is contained in:
parent
113fcdde69
commit
825d249bf4
@ -261,7 +261,7 @@ sub process_tc_rule( ) {
|
|||||||
|
|
||||||
require_capability ('CONNMARK' , "SAVE/RESTORE Rules", '' ) if $tccmd->{connmark};
|
require_capability ('CONNMARK' , "SAVE/RESTORE Rules", '' ) if $tccmd->{connmark};
|
||||||
|
|
||||||
$target = "$tccmd->{target} ";
|
$target = $tccmd->{target};
|
||||||
my $marktype = $tccmd->{mark};
|
my $marktype = $tccmd->{mark};
|
||||||
|
|
||||||
if ( $marktype == NOMARK ) {
|
if ( $marktype == NOMARK ) {
|
||||||
@ -279,6 +279,8 @@ sub process_tc_rule( ) {
|
|||||||
|
|
||||||
$restriction = DESTIFAC_DISALLOW;
|
$restriction = DESTIFAC_DISALLOW;
|
||||||
|
|
||||||
|
ensure_mangle_chain( $target );
|
||||||
|
|
||||||
$sticky++;
|
$sticky++;
|
||||||
} elsif ( $target eq 'IPMARK' ) {
|
} elsif ( $target eq 'IPMARK' ) {
|
||||||
my ( $srcdst, $mask1, $mask2, $shift ) = ('src', 255, 0, 0 );
|
my ( $srcdst, $mask1, $mask2, $shift ) = ('src', 255, 0, 0 );
|
||||||
|
Loading…
Reference in New Issue
Block a user