From d833372a2970d49c5557726ce739ec885f31807c 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 2be20feeba8..f3ec5fe6811 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1033,7 +1033,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 } }