|author||Mick Tarsel <firstname.lastname@example.org>||2018-06-08 21:38:22 +0000|
|committer||Natanael Copa <email@example.com>||2018-06-12 17:28:07 +0000|
Use first network interface that is up
Previous code would return eth0 every time and pay no attention if interface was up. This patch gets the state from operstate file in sysfs to use the interface that is actually up in case there are multiple interfaces present. If no interface is up, just use last interface.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions