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

andrew-d / interfaces-rs / 388 / 8
34%
master: 34%

Build:
DEFAULT BRANCH: master
Ran 16 Feb 2017 05:27PM UTC
Files 5
Run time 0s
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

16 Feb 2017 05:14PM UTC coverage: 95.146%. Remained the same
388.8

Pull #1

travis-ci

web-flow
Swap bytes when building IPv6 addresses.

As an example, the IPv6 address fe80::1 is represented in memory (in a
sin6_addr.s6_addr) as:

[0xfe, 0x80, 0x00, ..., 0x01]

So to construct an IPv6 address from 16-bit values, as is required by
net::Ipv6Addr::new, these should be passed as 0xfe80, 0x0000, etc.
However, the make_int16() function here was building them as 0x80fe,
etc. (or rather, it was being *called* in such a way to construct such
swapped integers). Because this function is used only to build IPv6
addresses, simply swapping the order of its parameters is sufficient to
properly construct IPv6 addresses.
Pull Request #1: Swap bytes when building IPv6 addresses.

196 of 206 relevant lines covered (95.15%)

0.95 hits per line

Source Files on job 388.8
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 388
  • Travis Job 388.8
  • 248a3d28 on github
  • Prev Job for on master (#315.8)
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