mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01:00
Allow <user>: in USER columns
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8c543ca6f8
commit
93ee4432de
@ -5220,6 +5220,8 @@ sub do_user( $ ) {
|
||||
|
||||
if ( supplied $2 ) {
|
||||
$user = $2;
|
||||
$user =~ s/:$//;
|
||||
|
||||
if ( $user =~ /^(\d+)(-(\d+))?$/ ) {
|
||||
if ( supplied $2 ) {
|
||||
fatal_error "Invalid User Range ($user)" unless $3 >= $1;
|
||||
|
Loading…
Reference in New Issue
Block a user