mirror of https://github.com/apache/cloudstack.git
Java methods getInterfaceAddresses() returns ip addresses in reverse order as "ip addr show" If there are multiple IPs assigned to a management interface, the last ip will be used as management ip in cloudstack. We need to reverse the ip addresses to get the first ip that makes more sense. Fixes #3311 |
||
|---|---|---|
| .. | ||
| main | ||
| test | ||