VPC UI, VPN connections: fix 'DPD' boolean field

This commit is contained in:
Brian Federle 2012-08-09 16:13:04 -07:00
parent c008637fbf
commit d833372a29
1 changed files with 6 additions and 1 deletions

View File

@ -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 }
}