• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

schweikert / fping / 16249769098
88%
master: 80%

Build:
Build:
LAST BUILD BRANCH: push-qpsntpqsxosv
DEFAULT BRANCH: master
Ran 13 Jul 2025 01:43PM UTC
Jobs 3
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jul 2025 01:42PM UTC coverage: 86.308% (-1.3%) from 87.577%
16249769098

push

github

auerswal
fix ICMPv6 error message handling and reporting

Handling of received ICMPv6 messages different from Echo Reply
was based on IPv4 code.  It would thus use a too small minimum
size, and interpret the wrong data as ICMPv6 fields.  Thus
received ICMPv6 error messages were either not reported at all,
or were reported incorrectly.

This commit introduces the following changes to fix this and thus
address GitHub issue #390:

- Filter out irrelevant ICMPv6 messages: fping needs to receive
  ICMPv6 Echo Reply and ICMPv6 error messages, nothing else
  (only relevant for raw sockets).
- Fix offset calculation to look at the included packet that
  caused this ICMPv6 error message.
- Ignore invoking packets that do not have ICMPv6 as the first
  IPv6 Next Header in the packet (there could be, e.g., IPv6
  Extension Headers).
- Fix ICMPv6 message type determination, and print respective
  warning messages.

7 of 41 new or added lines in 2 files covered. (17.07%)

6 existing lines in 1 file now uncovered.

1557 of 1804 relevant lines covered (86.31%)

331.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.5
0.0% src/socket6.c
33
86.28
-1.38% src/fping.c

Uncovered Existing Lines

Lines Coverage ∆ File
6
86.28
-1.38% src/fping.c
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-24.04 - 16249769098.1 13 Jul 2025 01:44PM UTC 4
83.66
GitHub Action Run
2 macos - 16249769098.2 13 Jul 2025 01:43PM UTC 4
73.99
GitHub Action Run
3 ubuntu-22.04 - 16249769098.3 13 Jul 2025 01:44PM UTC 4
83.66
GitHub Action Run
Source Files on build 16249769098
  • Tree
  • List 4
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6a678655 on github
  • Prev Build on develop (#16234917183)
  • Next Build on develop (#16376178545)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc