mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 22:18:57 +01:00
Correct NAT capability required error message.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
67ef1f8b93
commit
6035d49ede
@ -336,7 +336,7 @@ sub setup_masq()
|
|||||||
|
|
||||||
if ( my $fn = open_file( $name, 1, 1 ) ) {
|
if ( my $fn = open_file( $name, 1, 1 ) ) {
|
||||||
|
|
||||||
first_entry( sub { progress_message2 "$doing $fn..."; require_capability 'NAT_ENABLED' , 'a non-empty $name file' , 's'; } );
|
first_entry( sub { progress_message2 "$doing $fn..."; require_capability 'NAT_ENABLED' , "a non-empty $name file" , 's'; } );
|
||||||
|
|
||||||
process_one_masq while read_a_line( NORMAL_READ );
|
process_one_masq while read_a_line( NORMAL_READ );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user