.
This commit is contained in:
parent
4ebdece57c
commit
ec908f5997
@ -113,7 +113,7 @@ class Main:
|
||||
|
||||
def check_ip(self):
|
||||
#checking LAN network
|
||||
logging.debug("Checking IP for LAN")
|
||||
logging.debug("Checking IP for LAN: %s", self.lan_nic)
|
||||
image = self.builder.get_object("img_ip_lan")
|
||||
text = self.builder.get_object("lbl_lan_status")
|
||||
ip = list(self.get_ip_address(self.lan_nic))
|
||||
@ -126,11 +126,11 @@ class Main:
|
||||
image.set_from_gicon(self.icon_not_ok, Gtk.IconSize.DIALOG)
|
||||
text.set_text("N/A")
|
||||
|
||||
logging.debug("Checking IP for WAN")
|
||||
logging.debug("Checking IP for WAN: %s", self.wan_nic)
|
||||
ip = list(self.get_ip_address(self.wan_nic))
|
||||
image = self.builder.get_object("img_ip_wan")
|
||||
text = self.builder.get_object("lbl_wan_status")
|
||||
ip = list(self.get_ip_address("wlan0"))
|
||||
ip = list(self.get_ip_address(self.wan_nic))
|
||||
if ip:
|
||||
logging.debug("found : %s", " ".join(ip))
|
||||
image.set_from_gicon(self.icon_ok, Gtk.IconSize.DIALOG)
|
||||
|
Loading…
Reference in New Issue
Block a user