Move fix for !user to trunk

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8161 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-02-07 19:05:45 +00:00
parent 9734f4bd80
commit 6d421fc49e

View File

@ -1195,6 +1195,7 @@ sub do_user( $ ) {
$rule .= "--uid-owner $1 " if defined $1 && $1 ne ''; $rule .= "--uid-owner $1 " if defined $1 && $1 ne '';
$rule .= "--gid-owner $2 " if defined $2 && $2 ne ''; $rule .= "--gid-owner $2 " if defined $2 && $2 ne '';
} elsif ( $user =~ /^!/ ) { } elsif ( $user =~ /^!/ ) {
$user =~ s/!//;
$rule .= "! --uid-owner $user "; $rule .= "! --uid-owner $user ";
} else { } else {
$rule .= "--uid-owner $user "; $rule .= "--uid-owner $user ";