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)