summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-23 19:02:19 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-08-23 19:04:08 -0500
commit6b5b128e18fb1c8c042eeeda7964d8a31f39b9b4 (patch)
tree6639666d24de72a75bff86cf677e9f86e7bad403
parent5bd27b56cd929bb6f6def94e2fd3f8595ddc9d86 (diff)
downloadvyatta-op-vpn-6b5b128e18fb1c8c042eeeda7964d8a31f39b9b4.tar.gz
vyatta-op-vpn-6b5b128e18fb1c8c042eeeda7964d8a31f39b9b4.zip
Bugfix 7465: fix 3des in show commands
-rw-r--r--lib/OPMode.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/OPMode.pm b/lib/OPMode.pm
index b94a1e0..de39f71 100644
--- a/lib/OPMode.pm
+++ b/lib/OPMode.pm
@@ -76,6 +76,8 @@ sub conv_enc {
if ($enc =~ /(.*?)_.*?_(.*)/){
$enc = lc($1).$2;
$enc =~ s/^ //g;
+ } elsif ($enc =~ /3DES/) {
+ $enc = "3des";
}
return $enc;
}