From ba1af75e080eb8e0785f76ec8007c2e8bb9d0f4d Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 31 Jul 2021 10:22:42 +0200 Subject: [PATCH] Public IP address doesn't display anymore #1910 --- conf/glances.conf | 3 +++ glances/plugins/glances_ip.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/glances.conf b/conf/glances.conf index ad414fd441..c04f8e9604 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -171,6 +171,9 @@ tx_critical=90 #wlan0_tx_critical=1000000 #wlan0_tx_log=True +[ip] +disable=False + [connections] # Display additional information about TCP connections # This plugin is disabled by default diff --git a/glances/plugins/glances_ip.py b/glances/plugins/glances_ip.py index 8a659bc44a..a4aae49f21 100644 --- a/glances/plugins/glances_ip.py +++ b/glances/plugins/glances_ip.py @@ -61,7 +61,7 @@ def __init__(self, args=None, config=None): self.display_curse = True # Get the public IP address once (not for each refresh) - if not self.is_disable() and not import_error_tag: + if not import_error_tag: self.public_address = PublicIpAddress().get() @GlancesPlugin._check_decorator