forked from extern/shorewall_code
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:
parent
9734f4bd80
commit
6d421fc49e
@ -1195,6 +1195,7 @@ sub do_user( $ ) {
|
||||
$rule .= "--uid-owner $1 " if defined $1 && $1 ne '';
|
||||
$rule .= "--gid-owner $2 " if defined $2 && $2 ne '';
|
||||
} elsif ( $user =~ /^!/ ) {
|
||||
$user =~ s/!//;
|
||||
$rule .= "! --uid-owner $user ";
|
||||
} else {
|
||||
$rule .= "--uid-owner $user ";
|
||||
|
Loading…
Reference in New Issue
Block a user