diff options
-rwxr-xr-x | plugins/network.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/network.py b/plugins/network.py index c740514..920cee3 100755 --- a/plugins/network.py +++ b/plugins/network.py @@ -84,7 +84,8 @@ def _getStatMessage(stat, all=False, includes=(), excludes=()): for info in stat['network']['net-dev']: ipaddr = interfaces.get(info['iface'], {}).get('ipaddr') flags = interfaces.get(info['iface'], {}).get('flags') - if flags and (flags & ethtool.IFF_UP): + if flags and (flags & ethtool.IFF_UP) and \ + (flags & ethtool.IFF_RUNNING): status = InterfaceStatus.UP else: status = InterfaceStatus.DOWN |