From e60457157839daba385202906997dec48c9c4950 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Mon, 27 Jul 2020 15:20:51 -0700 Subject: [PATCH] fix next_hop fix --- jc/parsers/route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/parsers/route.py b/jc/parsers/route.py index 7777f4c0..03f6ee36 100644 --- a/jc/parsers/route.py +++ b/jc/parsers/route.py @@ -184,7 +184,7 @@ def parse(data, raw=False, quiet=False): cleandata = data.splitlines()[1:] # fixup header row for ipv6 - cleandata[0].replace('Next Hop', 'Next_Hop') + cleandata[0] = cleandata[0].replace('Next Hop', 'Next_Hop') raw_output = []