From 95f8100696ec32a081f275d2b59aa7089c37186f Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 13 Feb 2011 11:34:53 -0800 Subject: [PATCH] Cosmetic change --- Shorewall/Perl/Shorewall/Accounting.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Accounting.pm b/Shorewall/Perl/Shorewall/Accounting.pm index 689c32889..852918ded 100644 --- a/Shorewall/Perl/Shorewall/Accounting.pm +++ b/Shorewall/Perl/Shorewall/Accounting.pm @@ -171,11 +171,11 @@ sub process_accounting_rule( ) { require_capability 'ACCOUNT_TARGET' , 'ACCOUNT Rules' , ''; my ( $table, $net, $rest ) = split/,/, $1; fatal_error "Invalid Network Address (${net},${rest})" if defined $rest; - fatal_error "Missing Table Name" unless defined $table && $table ne '';; - fatal_error "Invalid Table Name ($table)" unless $table =~ /^([-\w.]+)$/; - fatal_error "Missing Network Address" unless defined $net; - fatal_error "Invalid Network Address ($net)" unless defined $net && $net =~ '/(\d+)$'; - fatal_error "Netmask ($1) out of range" unless $1 >= 8; + fatal_error "Missing Table Name" unless defined $table && $table ne '';; + fatal_error "Invalid Table Name ($table)" unless $table =~ /^([-\w.]+)$/; + fatal_error "Missing Network Address" unless defined $net; + fatal_error "Invalid Network Address ($net)" unless defined $net && $net =~ '/(\d+)$'; + fatal_error "Netmask ($1) out of range" unless $1 >= 8; validate_net $net, 0; my $prevnet = $tables{$table};