From 241d83aa09bd15e74aade64de9a2cadf3a5d64ba Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 9 Aug 2012 16:13:04 -0700 Subject: [PATCH] VPC UI, VPN connections: fix 'DPD' boolean field --- ui/scripts/vpc.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 064e0736d4c..1529542e91a 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1039,7 +1039,12 @@ esppolicy: { label: 'ESP policy' }, ikelifetime: { label: 'IKE Lifetime (second)' }, esplifetime: {label: 'ESP Lifetime(second)' }, - // dpd: {label: 'Dead Peer Detection'}, + dpd: { + label: 'Dead Peer Detection', + converter: function(str) { + return str ? 'Yes' : 'No'; + } + }, state: {label: 'State' }, created: { label: 'label.date', converter: cloudStack.converters.toLocalDate } }