From 4626fb0b80fafe98f0342594827c94b89d458867 Mon Sep 17 00:00:00 2001 From: felixaime Date: Thu, 31 Aug 2023 14:16:15 +0200 Subject: [PATCH] Add wwan status --- server/frontend/app/classes/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/frontend/app/classes/network.py b/server/frontend/app/classes/network.py index 994f534..30eba09 100755 --- a/server/frontend/app/classes/network.py +++ b/server/frontend/app/classes/network.py @@ -35,7 +35,7 @@ class Network(object): ctx = { "internet": self.check_internet() } for iface in ni.interfaces(): - if iface != self.iface_in and iface.startswith(("wl", "en", "et")): + if iface != self.iface_in and iface.startswith(("wl", "en", "et", "ww")): addrs = ni.ifaddresses(iface) try: ctx["ip_out"] = addrs[ni.AF_INET][0]["addr"]