forked from extern/shorewall_code
Allow action-only rules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6227 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
416f863ea3
commit
aeb3460d2b
@ -1141,7 +1141,6 @@ sub process_rule ( $$$$$$$$$$ ) {
|
||||
$sectioned = 1;
|
||||
}
|
||||
|
||||
fatal_error "Invalid rules file entry" if $source eq '-' || $dest eq '-';
|
||||
#
|
||||
# Handle Wildcards
|
||||
#
|
||||
@ -1258,7 +1257,7 @@ sub process_rules() {
|
||||
|
||||
while ( read_a_line ) {
|
||||
|
||||
my ( $target, $source, $dest, $proto, $ports, $sports, $origdest, $ratelimit, $user, $mark ) = split_line 3, 10, 'rules file';
|
||||
my ( $target, $source, $dest, $proto, $ports, $sports, $origdest, $ratelimit, $user, $mark ) = split_line 1, 10, 'rules file';
|
||||
|
||||
if ( $first_entry ) {
|
||||
progress_message2 "$doing $fn...";
|
||||
|
Loading…
Reference in New Issue
Block a user