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