mirror of https://github.com/apache/cloudstack.git
bug 13800: remove restriction that only sourceNAT IP can show VPN tab.
This commit is contained in:
parent
7925da1ff7
commit
b0671726e3
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue