From 94c0dc5dfec1d8b20afcbc1e652eb7c9350b4946 Mon Sep 17 00:00:00 2001 From: Wilder Rodrigues Date: Wed, 6 Jan 2016 09:08:56 +0100 Subject: [PATCH] CLOUDSTACK-9213 - Split the ACL rules using comma instead of dash. - The router code no longer deals with parsing the ALC list again. It's not necessary if it's sent in the proper way. --- core/src/com/cloud/agent/api/routing/SetNetworkACLCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/cloud/agent/api/routing/SetNetworkACLCommand.java b/core/src/com/cloud/agent/api/routing/SetNetworkACLCommand.java index 395ab5f0fb1..59ef6686ef0 100644 --- a/core/src/com/cloud/agent/api/routing/SetNetworkACLCommand.java +++ b/core/src/com/cloud/agent/api/routing/SetNetworkACLCommand.java @@ -83,7 +83,7 @@ public class SetNetworkACLCommand extends NetworkElementCommand { Boolean firstEntry = true; for (final String tag : cidr) { if (!firstEntry) { - sb.append("-"); + sb.append(","); } sb.append(tag); firstEntry = false;