mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-18 02:31:11 +01:00
Delete NFLOG hack.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
d1861a8c9d
commit
ede446d2e5
@ -1714,16 +1714,6 @@ sub process_rule1 ( $$$$$$$$$$$$$$$$$$ ) {
|
||||
( $basictarget, $actiontype , $param ) = map_old_actions( $basictarget ) unless $actiontype || $param;
|
||||
}
|
||||
|
||||
unless ( $actiontype ) {
|
||||
if ( $action =~ /^NFLOG\(?/ ) {
|
||||
$basictarget = 'LOG';
|
||||
$actiontype = $targets{LOG};
|
||||
fatal_error "Invalid NFLOG action($action:$loglevel)" if $loglevel;
|
||||
$loglevel = supplied $param ? "NFLOG($param)" : 'NFLOG';
|
||||
$param = '';
|
||||
}
|
||||
}
|
||||
|
||||
fatal_error "Unknown ACTION ($action)" unless $actiontype;
|
||||
|
||||
if ( $actiontype == MACRO ) {
|
||||
|
Loading…
Reference in New Issue
Block a user