Aylur / ags

A customizable and extensible shell
GNU General Public License v3.0
2.11k stars 109 forks source link

fix(network): handling multiple adapters #384

Closed amitds1997 closed 5 months ago

amitds1997 commented 5 months ago

When there are two Ethernet devices available (one built-in and the other through a docking station), the current implementation picks up the built-in one (the earlier one) instead of picking the device with an active connection.

With the new behavior, we give preference to the device with an active connection, if not, we default to our earlier behavior of returning the first device that's available.