2
0
mirror of https://github.com/status-im/consul.git synced 2025-02-19 00:56:45 +00:00

1 Commits

Author SHA1 Message Date
Pierre Souchay
952b60abaa
Proper detection of ephemeral ports on Mac OS ()
Use systemctl to properly detect ephemeral ports on Mac OS (aka darwin) by fetching
systemctl values:
 * net.inet.ip.portrange.first
 * net.inet.ip.portrange.last

This will avoid the message:

`[INFO] freeport: ephemeral port range detection not configured for GOOS="darwin"`

and properly detect the correct port range
2020-03-30 09:13:03 -04:00