diff --git a/manager_ethernet_interface/manager_ethernet_interface_check.py b/manager_ethernet_interface/manager_ethernet_interface_check.py index 2cb58f2..b80471f 100644 --- a/manager_ethernet_interface/manager_ethernet_interface_check.py +++ b/manager_ethernet_interface/manager_ethernet_interface_check.py @@ -139,6 +139,10 @@ def dummy_address_check( address ): # Check for expected IPv4 properties if property in property_ip_list: for i, address in enumerate( interface_resp.dict[property] ): + # Skip null entries + if address is None: + continue + # Check that there is only a Gateway for index 0 if "IPv4" in property: if "Gateway" in address and i != 0: