summaryrefslogtreecommitdiff
path: root/lib/OPMode.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/OPMode.pm')
-rw-r--r--lib/OPMode.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/OPMode.pm b/lib/OPMode.pm
index f871533..cea7236 100644
--- a/lib/OPMode.pm
+++ b/lib/OPMode.pm
@@ -695,6 +695,7 @@ sub get_conns
while(<$IPSECCONF>){
push (@ipsecconf, $_);
}
+ close($IPSECCONF);
my %th = ();
for my $line (@ipsecconf){
next if ($line =~/^\#/);