forked from extern/shorewall_code
Fix an incorrect filename in a comment
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5679 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7f2a127ed2
commit
e1cccb5ccb
@ -495,9 +495,11 @@ sub ensure_mangle_chain($) {
|
||||
#
|
||||
sub new_builtin_chain($$$)
|
||||
{
|
||||
my $chainref = new_chain $_[0],$_[1];
|
||||
my ( $table, $chain, $policy ) = @_;
|
||||
|
||||
my $chainref = new_chain $table, $chain;
|
||||
$chainref->{referenced} = 1;
|
||||
$chainref->{policy} = $_[2];
|
||||
$chainref->{policy} = $policy;
|
||||
$chainref->{builtin} = 1;
|
||||
}
|
||||
|
||||
@ -677,7 +679,7 @@ sub mac_match( $ ) {
|
||||
my $mac = $_[0];
|
||||
|
||||
$mac =~ s/^(!?)~//;
|
||||
$mac =~ s/^!// if my $invert = $1 ? '! ' : '';
|
||||
$mac =~ s/^!// if my $invert = ( $1 ? '! ' : '');
|
||||
$mac =~ s/-/:/g;
|
||||
|
||||
"--match mac --mac-source ${invert}$mac ";
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall 3.9 -- /usr/share/shorewall/Shorewall/Proc.pm
|
||||
# Shorewall 3.9 -- /usr/share/shorewall-pl/Shorewall/Proc.pm
|
||||
#
|
||||
# This program is under GPL [http://www.gnu.org/copyleft/gpl.htm]
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user