mirror of https://github.com/apache/cloudstack.git
Bug 13185 - CloudStack UI shows incorrect info for SSVM public IP
status 13185: resolved fixed
This commit is contained in:
parent
c9795a33f6
commit
e30ca89c7c
|
|
@ -1617,7 +1617,7 @@ public class ApiResponseHelper implements ResponseGenerator {
|
|||
vmResponse.setLinkLocalIp(singleNicProfile.getIp4Address());
|
||||
vmResponse.setLinkLocalMacAddress(singleNicProfile.getMacAddress());
|
||||
vmResponse.setLinkLocalNetmask(singleNicProfile.getNetmask());
|
||||
} else {
|
||||
} else if (network.getTrafficType() == TrafficType.Public){
|
||||
vmResponse.setPublicIp(singleNicProfile.getIp4Address());
|
||||
vmResponse.setPublicMacAddress(singleNicProfile.getMacAddress());
|
||||
vmResponse.setPublicNetmask(singleNicProfile.getNetmask());
|
||||
|
|
|
|||
Loading…
Reference in New Issue