1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-23 00:29:59 +02:00

Handle permanent ARP entries on AIX

This commit is contained in:
Dave Marquardt
2023-01-06 10:21:32 -06:00
parent 3582497ed4
commit 3fae50e305

View File

@ -248,7 +248,9 @@ def parse(
'hwtype': None, 'hwtype': None,
'hwaddress': None, 'hwaddress': None,
} }
if len(splitline) >= 5: if 'permanent' in splitline:
output_line['permanent'] = True
elif len(splitline) >= 5:
output_line['iface'] = splitline[5] output_line['iface'] = splitline[5]
raw_output.append(output_line) raw_output.append(output_line)