Closed poclecoqq closed 5 months ago
Thanks for reporting this. I created a PR from your fork and will take a look at merging that in.
This is fixed in the dev
branch and will make it into the next release.
https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/traceroute.py
You can test by copying the parser file above into your parser plugin folder:
$HOME/.local/share/jc/jcparsers
$HOME/Library/Application Support/jc/jcparsers
$LOCALAPPDATA\jc\jc\jcparsers
Fixed in v1.25.3
Description: When a hop in a traceroute has many IPs, the parser only considers the first IP it sees and ignores the others.
Given a traceroute with a line such as:
we would expect jc to return (for that hop/line):
instead, it currently returns (please compare the IP, name, and ASN fields):
The example above is an extract from
./tests/fixtures/generic/traceroute1.out
. I have already fixed that bug in a forked repository.