Ignore disabled ports

This commit is contained in:
Benjamin Collet 2019-01-16 11:43:54 +01:00
parent 9305972b51
commit 6676a58141

View file

@ -51,6 +51,7 @@ def search_ports(args):
if device['device']['disabled'] == "1": continue
if port['disabled'] == "1": continue
if port['deleted'] == "1": continue
print "=" * 80
print_data("Device", device['device']['hostname'])