diff --git a/NetworkManager.py b/NetworkManager.py index 31bb382..b42660e 100644 --- a/NetworkManager.py +++ b/NetworkManager.py @@ -396,7 +396,9 @@ def device_class(typ): NM_DEVICE_TYPE_WIREGUARD: WireGuard, NM_DEVICE_TYPE_VRF: Vrf, NM_DEVICE_TYPE_WIFI_P2P: WifiP2p, - }[typ] + NM_DEVICE_TYPE_LOOPBACK: Loopback, + NM_DEVICE_TYPE_HSR: Hsr + }.get(typ, Generic) class Adsl(Device): pass class Bluetooth(Device): pass @@ -427,7 +429,9 @@ class SixLoWpan(Device): pass class WireGuard(Device): pass class WifiP2p(Device): pass class Vrf(Device): pass - +class Loopback(Device): pass +class Hsr(Device): pass + class NSP(TransientNMDbusInterface): interface_names = ['org.freedesktop.NetworkManager.Wimax.NSP'] @@ -821,6 +825,8 @@ def cert_to_dbus(cert): NM_DEVICE_TYPE_WIREGUARD = 29 NM_DEVICE_TYPE_WIFI_P2P = 30 NM_DEVICE_TYPE_VRF = 31 +NM_DEVICE_TYPE_LOOPBACK = 32 +NM_DEVICE_TYPE_HSR = 33 NM_DEVICE_CAP_NONE = 0 NM_DEVICE_CAP_NM_SUPPORTED = 1 NM_DEVICE_CAP_CARRIER_DETECT = 2
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: