mirror of https://github.com/apache/cloudstack.git
Bug 8115: - Source IP filtering in Virtual Router
correcting typo
This commit is contained in:
parent
ea9703997b
commit
d79c6225df
|
|
@ -68,7 +68,7 @@ public class PortForwardingRuleTO extends FirewallRuleTO {
|
|||
return sourceCidrs;
|
||||
}
|
||||
|
||||
public String geStringSourceCidrs(){
|
||||
public String getStringSourceCidrs(){
|
||||
return StringUtils.join(sourceCidrs, ",");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1224,7 +1224,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
args.append(" -r ").append(rule.getDstIp());
|
||||
args.append(" -d ").append(rule.getStringDstPortRange());
|
||||
if (rule.getSourceCidrs().size() > 0){
|
||||
args.append(" -s " + rule.geStringSourceCidrs());
|
||||
args.append(" -s " + rule.getStringSourceCidrs());
|
||||
}
|
||||
String result = callHostPlugin(conn, "vmops", "setFirewallRule", "args", args.toString());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue