smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.63k stars 402 forks source link

Return error instead of panicking #928

Open agayev opened 1 month ago

agayev commented 1 month ago

Do you mind rewriting functions such as update_ip_addrs to return an error instead of panicking? I can do the work if you are willing to accept PRs.

thvdveld commented 1 month ago

I think that is reasonable. PRs are always welcome!