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

fixup for ipv6

This commit is contained in:
Kelly Brazil
2020-07-27 15:18:13 -07:00
parent 6086920332
commit f9dacc3f95

View File

@ -182,6 +182,10 @@ def parse(data, raw=False, quiet=False):
jc.utils.compatibility(__name__, info.compatible)
cleandata = data.splitlines()[1:]
# fixup header row for ipv6
cleandata[0].replace('Next Hop', 'Next_Hop')
raw_output = []
if jc.utils.has_data(data):