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

containernetworking / plugins / 29832297481
53%
master: 55%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/google.golang.org/grpc-1.82.1
DEFAULT BRANCH: master
Ran 21 Jul 2026 01:16PM UTC
Jobs 1
Files 69
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

21 Jul 2026 12:52PM UTC coverage: 52.502%. First build
29832297481

Pull #1279

github

maiqueb
dhcp: send DHCPRELEASE with the client IP addr as ciaddr

The dhcp IPAM plugin sends DHCPRELEASE packets with 0.0.0.0 as the IP source
address instead of the client's assigned IP.

This violates RFC 2131 section 4.4.4 and causes DHCP servers (e.g. dnsmasq) to
silently ignore the release. Leases are never freed — they only expire via
timeout.

By using the `nclient4.WithUnicast()` option, the client will stop using
a raw packet socket which constructs IP headers with 0.0.0.0 as the source.

Using src IP 0.0.0.0 is appropriate for DHCPDISCOVER (no address assigned yet)
but wrong for DHCPRELEASE.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Pull Request #1279: dhcp: send DHCPRELEASE with the client IP addr as ciaddr

0 of 8 new or added lines in 1 file covered. (0.0%)

5005 of 9533 relevant lines covered (52.5%)

27.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.0
plugins/ipam/dhcp/lease.go
Jobs
ID Job ID Ran Files Coverage
1 29832297481.1 21 Jul 2026 01:16PM UTC 69
52.5
GitHub Action Run
Source Files on build 29832297481
  • Tree
  • List 69
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1279
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc