Skip to content

Commit 241d83a

Browse files
committed
VPC UI, VPN connections: fix 'DPD' boolean field
1 parent 41afde3 commit 241d83a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎ui/scripts/vpc.js‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,12 @@
10391039
esppolicy: { label: 'ESP policy' },
10401040
ikelifetime: { label: 'IKE Lifetime (second)' },
10411041
esplifetime: {label: 'ESP Lifetime(second)' },
1042-
// dpd: {label: 'Dead Peer Detection'},
1042+
dpd: {
1043+
label: 'Dead Peer Detection',
1044+
converter: function(str) {
1045+
return str ? 'Yes' : 'No';
1046+
}
1047+
},
10431048
state: {label: 'State' },
10441049
created: { label: 'label.date', converter: cloudStack.converters.toLocalDate }
10451050
}

0 commit comments

Comments
 (0)