diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/OPMode.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/OPMode.pm b/lib/OPMode.pm index c6991b0..b94a1e0 100644 --- a/lib/OPMode.pm +++ b/lib/OPMode.pm @@ -217,6 +217,7 @@ sub process_tunnels{ _lifetime => 'n/a', _expire => 'n/a' }; } + $line =~ s/---.*\.\.\./.../g; # remove the next hop router for local-ip 0.0.0.0 case if ($line =~ /IKE.proposal:(.*?)\/(.*?)\/(.*)/){ $tunnel_hash{$connectid}->{_ikeencrypt} = $1; $tunnel_hash{$connectid}->{_ikehash} = $2; |