diff --git a/rust/agama-dbus-server/src/network/model.rs b/rust/agama-dbus-server/src/network/model.rs index b413284999..9d48127a19 100644 --- a/rust/agama-dbus-server/src/network/model.rs +++ b/rust/agama-dbus-server/src/network/model.rs @@ -312,7 +312,9 @@ impl Connection { } pub fn is_ethernet(&self) -> bool { - matches!(self, Connection::Loopback(_)) || matches!(self, Connection::Ethernet(_)) + matches!(self, Connection::Loopback(_)) + || matches!(self, Connection::Ethernet(_)) + || matches!(self, Connection::Dummy(_)) } pub fn mac_address(&self) -> String {