GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #916 from kansal/CLOUDSTACK-8940 · apache/cloudstack@3d213b6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • server/src/com/cloud/network
    • IpAddressManagerImpl.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎server/src/com/cloud/network/IpAddressManagerImpl.java‎

Copy file name to clipboardExpand all lines: server/src/com/cloud/network/IpAddressManagerImpl.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,9 +1932,9 @@ public void doInTransactionWithoutResult(TransactionStatus status) throws Insuff
19321932

19331933
}
19341934

1935-
// nic ip address isn ot set here. Because the DHCP is external to cloudstack
1935+
// nic ip address is not set here. Because the DHCP is external to cloudstack
19361936
nic.setIPv4Gateway(network.getGateway());
1937-
nic.setIPv4Netmask(network.getCidr());
1937+
nic.setIPv4Netmask(NetUtils.getCidrNetmask(network.getCidr()));
19381938

19391939
List<VlanVO> vlan = _vlanDao.listVlansByNetworkId(network.getId());
19401940

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.