From ca46052410e63506a0ec354fd7ddebaca6ca9147 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 10 Apr 2011 13:19:42 -0700 Subject: [PATCH] Fix file name in split_line error message for proxyndp file --- Shorewall/Perl/Shorewall/Compiler.pm | 1 - Shorewall/Perl/Shorewall/Proxyarp.pm | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index 17ed2d274..d0526f95f 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -21,7 +21,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # - package Shorewall::Compiler; require Exporter; use Shorewall::Config qw(:DEFAULT :internal); diff --git a/Shorewall/Perl/Shorewall/Proxyarp.pm b/Shorewall/Perl/Shorewall/Proxyarp.pm index 704738dd1..7c9260ecf 100644 --- a/Shorewall/Perl/Shorewall/Proxyarp.pm +++ b/Shorewall/Perl/Shorewall/Proxyarp.pm @@ -118,7 +118,7 @@ sub setup_proxy_arp() { while ( read_a_line ) { - my ( $address, $interface, $external, $haveroute, $persistent ) = split_line 3, 5, 'proxyarp file'; + my ( $address, $interface, $external, $haveroute, $persistent ) = split_line 3, 5, $file_opt; if ( $first_entry ) { progress_message2 "$doing $fn...";