From 8b6039392f5175d68cd96be05542b4d142c95661 Mon Sep 17 00:00:00 2001 From: Roberto Date: Sat, 22 Jun 2024 17:33:27 +0200 Subject: [PATCH] Update NetworkManager.py add LOOPBACK, HSR --- NetworkManager.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy