diff --git a/server/src/com/cloud/network/rules/FirewallRuleVO.java b/server/src/com/cloud/network/rules/FirewallRuleVO.java index a9834ec3371..ef2b792bd13 100644 --- a/server/src/com/cloud/network/rules/FirewallRuleVO.java +++ b/server/src/com/cloud/network/rules/FirewallRuleVO.java @@ -206,7 +206,7 @@ public class FirewallRuleVO implements Identity, NetworkACL { this.accountId = accountId; this.domainId = domainId; - if (sourceIpAddressId == null) { + if (ipAddressId == null) { assert (purpose == Purpose.NetworkACL) : "ipAddressId can be null for " + Purpose.NetworkACL + " only"; }