mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-09 03:06:54 +02:00
Add R chain designator
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
81c16d2d67
commit
a4aa020a84
@ -3714,14 +3714,16 @@ sub process_rules() {
|
|||||||
# Process a rule from the mangle file
|
# Process a rule from the mangle file
|
||||||
#
|
#
|
||||||
sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
|
sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
|
||||||
our ( $chainref, $action, $source, $dest, $proto, $ports, $sports, $user, $testval, $length, $tos , $connbytes, $helper, $headers, $probability , $dscp , $state, $time ) = @_;
|
my ( $chainref, $action, $source, $dest, $proto, $ports, $sports, $user, $testval, $length, $tos , $connbytes, $helper, $headers, $probability , $dscp , $state, $time ) = @_;
|
||||||
|
|
||||||
my %designators = (
|
my %designators = (
|
||||||
P => PREROUTING,
|
P => PREROUTING,
|
||||||
I => INPUT,
|
I => INPUT,
|
||||||
F => FORWARD,
|
F => FORWARD,
|
||||||
O => OUTPUT,
|
O => OUTPUT,
|
||||||
T => POSTROUTING );
|
T => POSTROUTING,
|
||||||
|
R => REALPREROUTING,
|
||||||
|
);
|
||||||
|
|
||||||
my %chainlabels = ( 1 => 'PREROUTING',
|
my %chainlabels = ( 1 => 'PREROUTING',
|
||||||
2 => 'INPUT',
|
2 => 'INPUT',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user