lwIP - A Lightweight TCP/IP stack - Patches: patch #9856, sntp: Allow both IPv4 and IPv6 NTP...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9856: sntp: Allow both IPv4 and IPv6 NTP servers to be configured simultaneously via DHCP
Submitter: | David J. Fiddes <davefiddes> | ||
Submitted: | Sun 29 Sep 2019 05:00:29 PM UTC | ||
Category: | apps | Priority: | 3 - Low |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Planned Release: | None |
Tue 10 Dec 2019 10:04:56 PM UTC, comment #2: |
David J. Fiddes <davefiddes> |
Tue 10 Dec 2019 08:55:09 PM UTC, comment #1: I could imagine a lot of funny things happen when applying this patch as is. For example, if the number of available slots was smaller than what we get via DHCPv6, we wouldn't be able to store IPv4 servers?
|
Simon Goldschmidt <goldsimon>![]() |
Sun 29 Sep 2019 05:00:29 PM UTC, original submission:
Currently when a DHCP or DHCPv6 updates containing NTP
|
David J. Fiddes <davefiddes> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-09-29 | davefiddes | Attached File | - | ![]() |
Added 0001-sntp-Don-t-over-write-IPv6-NTP-server-when-processin.patch, #47586 |
If you're on an IPv4 network you'll get your IPv4 NTP (or DNS) servers via DHCP. If you are on IPv6 you'll get IPv6 NTP servers over DHCP. If you are operating dual-stack you have to deal with both.
I did wonder whether these patches would open a can of worms. Dual stack makes a lot of things ugly unfortunately.
For my own use case ESP8266 Arduino's LwIP configuration has 3 NTP server slots and only 1 DHCP and 1 DHCPv6 NTP server. This works fine obviously.
I'll need to have a think as to how to achieve it but dividing the allocation between IPv4 and IPv6 would certainly be more deterministic.