From 367f00fe224ba76a43fb5ddebfcb0e0052a09075 Mon Sep 17 00:00:00 2001 From: jules-vyos Date: Wed, 5 Jul 2017 09:31:45 +0100 Subject: T303 - Re-fix - broke that the first time Typo, sadly. Resolved this time. --- lib/OPMode.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OPMode.pm b/lib/OPMode.pm index e304b2f..9e7bd60 100644 --- a/lib/OPMode.pm +++ b/lib/OPMode.pm @@ -862,7 +862,7 @@ sub show_ipsec_sa_natt my %tunnel_hash = get_tunnel_info(); my %tmphash = (); for my $peer ( keys %tunnel_hash ) { - if (${$tunnel_hash{$peer}>{_natt} == 1 ){ + if (${$tunnel_hash{$peer}}{_natt} == 1 ){ $tmphash{$peer} = \%{$tunnel_hash{$peer}}; } } -- cgit v1.2.3