1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-21 00:19:42 +02:00

Updated ARP incomplete handling for AIX

This commit is contained in:
Dave Marquardt
2023-01-06 10:08:33 -06:00
parent df72b16022
commit 02a7e5fd8a

View File

@ -229,7 +229,7 @@ def parse(
elif 'There' in splitline[0] and 'are' in splitline[1]: elif 'There' in splitline[0] and 'are' in splitline[1]:
continue continue
elif '<incomplete>' not in splitline: elif ('<incomplete>','(incomplete)') not in splitline:
output_line = { output_line = {
'name': splitline[0], 'name': splitline[0],
'address': splitline[1].lstrip('(').rstrip(')'), 'address': splitline[1].lstrip('(').rstrip(')'),