mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Correction to last change -- move two declarations to an outer block.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
48c3200a5a
commit
6171d938f7
@ -1109,10 +1109,11 @@ sub process_interface( $$ ) {
|
|||||||
#
|
#
|
||||||
sub validate_interfaces_file( $ ) {
|
sub validate_interfaces_file( $ ) {
|
||||||
my $export = shift;
|
my $export = shift;
|
||||||
|
|
||||||
|
my @ifaces;
|
||||||
|
my $nextinum = 1;
|
||||||
|
|
||||||
if ( my $fn = open_file 'interfaces' ) {
|
if ( my $fn = open_file 'interfaces' ) {
|
||||||
my @ifaces;
|
|
||||||
my $nextinum = 1;
|
|
||||||
first_entry "$doing $fn...";
|
first_entry "$doing $fn...";
|
||||||
push @ifaces, process_interface( $nextinum++, $export ) while read_a_line;
|
push @ifaces, process_interface( $nextinum++, $export ) while read_a_line;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user