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

Update solaris and freebsd code to have full paths to their executables. #11

Closed jackpal closed 1 year ago

jackpal commented 8 years ago

Otherwise there's the potential that the PATH does not include the directory where the executable lives, or that the PATH is set so that some other executable with the same name is found first.

jackpal commented 1 year ago

freebsd no longer an issue, since it's using the common BSD code that doesn't use executables.

jackpal commented 1 year ago

Hmm, the common BSD code now depends upon calling netstat

But I think it's OK to do that. Closing the bug for now.