Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to figure out the default interface
Use a dumb algorithm (whether an interface has a self-assigned IP address) to determine the default network device. Really should check the routing table instead for the interface associated with the default route.
- Loading branch information
Showing
2 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters