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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user