mirror of https://github.com/apache/cloudstack.git
S2S VPN: CS-15884: Delete iptables rules after delete vpn connection
This commit is contained in:
parent
5e0eb93fe6
commit
c4eadf3011
|
|
@ -611,6 +611,8 @@ public class VirtualRoutingResource implements Manager {
|
|||
args = "-D";
|
||||
args += " -r ";
|
||||
args += cmd.getPeerGatewayIp();
|
||||
args += " -n ";
|
||||
args += cmd.getLocalGuestCidr();
|
||||
args += " -N ";
|
||||
args += cmd.getPeerGuestCidrList();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7435,6 +7435,8 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
args += " -D";
|
||||
args += " -r ";
|
||||
args += cmd.getPeerGatewayIp();
|
||||
args += " -n ";
|
||||
args += cmd.getLocalGuestCidr();
|
||||
args += " -N ";
|
||||
args += cmd.getPeerGuestCidrList();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue