提交 a4d499d7 编写于 作者: N nicolargo

Add comment for the BSD issue unsin netifaces

上级 73b38315
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册