From 8a06049ece70c6889e41eefc68ce7cb3d5becc8d Mon Sep 17 00:00:00 2001
From: Adam Smith <zero1three@gmail.com>
Date: Fri, 19 Jan 2024 16:41:39 -0500
Subject: T5964: add missing imports for is_wwan_connected()

(cherry picked from commit 844e35dea0500c48ff942ef4542dbb7a25b9dc7d)
---
 python/vyos/utils/network.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'python')

diff --git a/python/vyos/utils/network.py b/python/vyos/utils/network.py
index c3c419a61..b58e02d91 100644
--- a/python/vyos/utils/network.py
+++ b/python/vyos/utils/network.py
@@ -155,7 +155,9 @@ def is_wwan_connected(interface):
     """ Determine if a given WWAN interface, e.g. wwan0 is connected to the
     carrier network or not """
     import json
+    from vyos.utils.dict import dict_search
     from vyos.utils.process import cmd
+    from vyos.utils.process import is_systemd_service_active
 
     if not interface.startswith('wwan'):
         raise ValueError(f'Specified interface "{interface}" is not a WWAN interface')
-- 
cgit v1.2.3