diff --git a/conf/glances.conf b/conf/glances.conf index ad414fd4410031defecae5d46d7cb68ca406394e..c04f8e960411f41170a0bd36f901868ec20ff796 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 8a659bc44ad8623bcde58de35ce714ca20618c4a..a4aae49f21af1e0faa4c57fc48c3964b37871466 100644 --- a/glances/plugins/glances_ip.py +++ b/glances/plugins/glances_ip.py @@ -61,7 +61,7 @@ class Plugin(GlancesPlugin): 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