jackpal / gateway

A golang library for discovering the address of a LAN gateway.
BSD 3-Clause "New" or "Revised" License
227 stars 69 forks source link

Retrieving router on OSX no longer working #34

Closed fuskovic closed 1 year ago

fuskovic commented 1 year ago

I'm using this package for one of my CLI tools..

When I run networker ls, I get the following error:

failed to list devices: failed to get router: failed to discover gateway: no gateway found.

Error comes from here.

I'd like to submit a PR for this.