S2S VPN: Fix typo

This commit is contained in:
Sheng Yang 2012-08-07 13:42:54 -07:00
parent 4618f5f449
commit a7342974b3
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ public class Site2SiteVpnManagerImpl implements Site2SiteVpnManager, Manager {
}
_accountMgr.checkAccess(caller, null, false, vpnGateway);
if (customerGateway.getAccountId() != vpnGateway.getAccountId() || customerGateway.getDomainId() != vpnGateway.getAccountId()) {
if (customerGateway.getAccountId() != vpnGateway.getAccountId() || customerGateway.getDomainId() != vpnGateway.getDomainId()) {
throw new InvalidParameterValueException("VPN connection can only be esitablished between same account's VPN gateway and customer gateway!", null);
}