mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user