From 6676a58141ab635d0b453dd84cbf7ddc12273c15 Mon Sep 17 00:00:00 2001 From: Benjamin Collet Date: Wed, 16 Jan 2019 11:43:54 +0100 Subject: [PATCH] Ignore disabled ports --- client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client.py b/client.py index b3dd9bd..4cba396 100755 --- a/client.py +++ b/client.py @@ -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'])