Skip to content
Commit b82db07d authored by Beniamino Galvani's avatar Beniamino Galvani
Browse files

applet: fix status icon when a VPN has the default route

After commit 35736dd2 ("applet: use default active interface, even
if it is of unsupported class") when a VPN with default route is
active, applet_get_default_active_connection() returns the VPN
connection, and no icon would be set because the tun device doesn't
have a NMADeviceClass.

Require a device class only when we need to determine the status icon,
otherwise accept any connection.

Fixes: 35736dd2

https://bugzilla.gnome.org/show_bug.cgi?id=785775
https://bugzilla.redhat.com/show_bug.cgi?id=1471510
parent 5177b6d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment