mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Previously, the primary ip was determined using the interface with the most traffic. This had a few issues and required explicitly filtering out certain interfaces that we don't want eg loopback, docker. Instead, use the default route to determine the primary (private) ip. If there are multiple, use the one with the lowest metric and prefer ipv4 addresses.
1 line
76 B
Text
1 line
76 B
Text
* Improve host detail query to populate primary ip and mac address on host.
|