Add comment for the BSD issue unsin netifaces

pull/893/head
nicolargo 2016-06-18 18:55:19 +02:00
parent 73b383155b
commit a4d499d7eb
3 changed files with 3 additions and 1 deletions

View File

@ -185,7 +185,7 @@ mem_critical=90
refresh=30
# Set the default timeout for a scan (can be overwrite in the scan list)
timeout=3
# If True, add the default gateway on top of the port list
# If True, add the default gateway on top of the scan list
port_default_gateway=True
# Define the scan list
# host (name or IP) is mandatory

View File

@ -30,6 +30,7 @@ from glances.plugins.glances_plugin import GlancesPlugin
# XXX *BSDs: Segmentation fault (core dumped)
# -- https://bitbucket.org/al45tair/netifaces/issues/15
# Also used in the ports_list script
if not BSD:
try:
import netifaces

View File

@ -25,6 +25,7 @@ from glances.globals import BSD
# XXX *BSDs: Segmentation fault (core dumped)
# -- https://bitbucket.org/al45tair/netifaces/issues/15
# Also used in the glances_ip plugin
if not BSD:
try:
import netifaces