Improves error detection
This commit is contained in:
parent
c4a5a1ac7e
commit
7342a04a5c
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ from netbox_agent.misc import is_tool
|
|||
|
||||
class LLDP():
|
||||
def __init__(self, output=None):
|
||||
if not is_tool('lldpctl'):
|
||||
if not is_tool('alldpctl'):
|
||||
logging.debug('lldpd package seems to be missing or daemon not running.')
|
||||
if output:
|
||||
self.output = output
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue