From ec908f59979b799ca051f227f8f6af4918901b20 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Thu, 23 Sep 2021 09:17:22 +0200 Subject: [PATCH] . --- tlumon/tlumon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tlumon/tlumon b/tlumon/tlumon index f64abe1..dfbdcc0 100755 --- a/tlumon/tlumon +++ b/tlumon/tlumon @@ -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)