smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.64k stars 404 forks source link

iface: add support for sending to subnet-local broadcast addrs (like 192.168.1.255). #801

Closed Dirbaio closed 1 year ago

Dirbaio commented 1 year ago

377 added support for subnet-local broadcast addrs for ingress, but it was missing for egress.

codecov[bot] commented 1 year ago

Codecov Report

Merging #801 (7d78370) into master (8f4820f) will decrease coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #801      +/-   ##
==========================================
- Coverage   80.32%   80.30%   -0.02%     
==========================================
  Files          72       72              
  Lines       29060    29081      +21     
==========================================
+ Hits        23341    23354      +13     
- Misses       5719     5727       +8     
Impacted Files Coverage Δ
src/iface/interface/mod.rs 49.75% <100.00%> (+0.44%) :arrow_up:
src/iface/interface/tests.rs 100.00% <100.00%> (ø)
src/socket/udp.rs 84.45% <100.00%> (ø)

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more