bug 13800: remove restriction that only sourceNAT IP can show VPN tab.

This commit is contained in:
Jessica Wang 2012-02-18 21:45:24 -08:00
parent 7925da1ff7
commit b0671726e3

View File

@ -166,8 +166,6 @@
}
});
}
},
networkOfferingId: {
label: 'label.network.offering',
@ -1050,8 +1048,7 @@
var disabledTabs = [];
var ipAddress = args.context.ipAddresses[0];
if (!ipAddress.issourcenat ||
(ipAddress.issourcenat && !ipAddress.vpnenabled)) {
if (!ipAddress.vpnenabled) {
disabledTabs.push('vpn');
}
if(ipAddress.iselastic == true) {