Skip to content

Commit

Permalink
Public IP address doesn't display anymore #1910
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Jul 31, 2021
1 parent fe37342 commit ba1af75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions conf/glances.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion glances/plugins/glances_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba1af75

Please sign in to comment.