Skip to content

Commit 69b4e8f

Browse files
committed
change network cidr to cidr to prevent NPE
1 parent adbfacd commit 69b4e8f

File tree

1 file changed

+1
-1
lines changed
  • plugins/network-elements/nsx/src/main/java/org/apache/cloudstack/utils

1 file changed

+1
-1
lines changed

plugins/network-elements/nsx/src/main/java/org/apache/cloudstack/utils/NsxHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public static CreateNsxDhcpRelayConfigCommand createNsxDhcpRelayConfigCommand(Do
3636

3737
public static CreateNsxSegmentCommand createNsxSegmentCommand(DomainVO domain, Account account, DataCenter zone, String vpcName, NetworkVO networkVO) {
3838
return new CreateNsxSegmentCommand(domain.getName(), account.getAccountName(), zone.getName(),
39-
vpcName, networkVO.getName(), networkVO.getGateway(), networkVO.getNetworkCidr());
39+
vpcName, networkVO.getName(), networkVO.getGateway(), networkVO.getCidr());
4040
}
4141
}

0 commit comments

Comments
 (0)