mirror of https://github.com/apache/cloudstack.git
Fix a problem for Xen resource when it handles VPN command
This commit is contained in:
parent
ab98a1d553
commit
904bb3ea26
|
|
@ -1285,8 +1285,8 @@ public abstract class CitrixResourceBase implements StoragePoolResource, ServerR
|
|||
}
|
||||
|
||||
protected synchronized Answer execute(final VpnUsersCfgCommand cmd) {
|
||||
String args = cmd.getRouterPrivateIpAddress();
|
||||
for (VpnUsersCfgCommand.UsernamePassword userpwd: cmd.getUserpwds()) {
|
||||
String args = cmd.getRouterPrivateIpAddress();
|
||||
if (!userpwd.isAdd()) {
|
||||
args += " -U " + userpwd.getUsername();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue