-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHCPRepr doesn't include DNS servers when emitting #504
Comments
Also, why is it always 3 ?????? rfc doesnt restrict amount of servers in any way |
It's 3 because that's the maximum seen in the wild, and since smoltcp is designed to work on systems without alloc we can't simply use a Vec there. |
Would you take PR making Repr<dns: usize> const generic on number of DNS servers? |
The current MSRV is Rust 1.40 which doesn't have const generics. What's your usecase for supporting more than 3 DNS servers? Maybe we can figure something out. |
I don't have a specific one, was mostly just curious. |
what about alloc feature though? (opt in, backwards compatible) |
Emit dns servers in DHCPv4 repr. Fixes #504
Fixed in #505 |
No description provided.
The text was updated successfully, but these errors were encountered: