• Fabrice Bellet's avatar
    network: Handle interface name changes · d9bfa16f
    Fabrice Bellet authored
    The interface name when a device is added may not be the final one. For
    example when using USB tethering, it will first appear as 'usb0' before
    being renamed to something like 'enp0s20f0u1' depending on the port the
    phone is plugged in.
    
    As a result, we will ignore the new interface name in that case and fail
    to associate the correct connection with the device: Instead of the
    correct "USB Ethernet" (or user-customized name), it will show up as
    "Ethernet".
    
    Fix this by updating names and connections when a device's interface
    property changes.
    
    GNOME/gnome-shell!534
    d9bfa16f
Name
Last commit
Last update
.gitlab-ci Loading commit data...
.settings Loading commit data...
data Loading commit data...
docs/reference Loading commit data...
js Loading commit data...
man Loading commit data...
meson Loading commit data...
po Loading commit data...
src Loading commit data...
subprojects Loading commit data...
test Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
HACKING.md Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
README.mdwn Loading commit data...
cldr2json.py Loading commit data...
config.h.meson Loading commit data...
gnome-shell.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...