File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 27
27
## * smartdisk - install the mkp from https://github.com/bashclub/checkmk-smart plugins os-smart
28
28
## * squid - install the mkp from https://exchange.checkmk.com/p/squid and forwarder -> listen on loopback active
29
29
30
- __VERSION__ = "1.0.7 "
30
+ __VERSION__ = "1.0.8 "
31
31
32
32
import sys
33
33
import os
@@ -562,7 +562,8 @@ def check_net(self):
562
562
except ValueError :
563
563
pass
564
564
565
- if _interface_dict ["flags" ] & 0x2 or _interface_dict ["flags" ] & 0x10 or _interface_dict ["flags" ] & 0x80 : ## nur broadcast oder ptp .. und noarp
565
+ _flags = _interface_dict .get ("flags" )
566
+ if _flags and (_flags & 0x2 or _flags & 0x10 or _flags & 0x80 ): ## nur broadcast oder ptp .. und noarp
566
567
self ._all_interfaces [_interface ] = _interface_dict
567
568
else :
568
569
continue
You can’t perform that action at this time.
0 commit comments