From 6035d49ede46a8ddff3a9457bcddf8e8583a5be8 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 23 Feb 2013 11:57:32 -0800 Subject: [PATCH] Correct NAT capability required error message. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Nat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Nat.pm b/Shorewall/Perl/Shorewall/Nat.pm index fa8e42546..0eea85769 100644 --- a/Shorewall/Perl/Shorewall/Nat.pm +++ b/Shorewall/Perl/Shorewall/Nat.pm @@ -336,7 +336,7 @@ sub setup_masq() 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 ); }