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

eclipse-bluechi / bluechi / 9203243489
83%

Build:
DEFAULT BRANCH: main
Ran 23 May 2024 06:38AM UTC
Jobs 1
Files 45
Run time 5min
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

23 May 2024 06:24AM UTC coverage: 85.15% (+0.07%) from 85.084%
9203243489

push

github

engelmi
Fix to get peer ip address

If we try to read the IP address from a struct sockaddr_in while
getpeername() filled it with struct sockaddr_in6 information, we are
actually reading the sin6_flowinfo part of the struct sockaddr_in6. That
flow information is usually zero, unless the connection is explicitely
flagged with a flow ID. So we would read a zeroed IP address.

Reference: https://stackoverflow.com/a/25640794

AS-IS

root@42dot-ak7:~# bluechictl status
NODE                          | STATE     | IP             | LAST SEEN
==========================================================================================
ak7_master_main               | online    | 0.0.0.0        | now
ak7_master_sub                | online    | 0.0.0.0        | now

TO-BE

root@42dot-ak7:~# bluechictl status
NODE                          | STATE     | IP                      | LAST SEEN
==========================================================================================
ak7_master_main               | online    | ::ffff:192.168.16.103   | now
ak7_master_sub                | online    | ::ffff:192.168.16.104   | now

Signed-off-by: Joonyoung Shim <joonyoung.shim@42dot.ai>

12 of 20 new or added lines in 3 files covered. (60.0%)

4765 of 5596 relevant lines covered (85.15%)

1038.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9203243489.1 23 May 2024 06:38AM UTC 0
85.15
GitHub Action Run
Source Files on build 9203243489
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9203243489
  • 23191d34 on github
  • Prev Build on main (#9196298369)
  • Next Build on main (#9547759023)
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

© 2026 Coveralls, Inc