Hi Tore,

> This patch prevents connman from [ab]using the default gateway as a
> fallback NTP server. The rationale for the previous behaviour was
> apparently that if the DHCP server does not advertise an NTP server
> option, then attempting to use the default gateway has at least a
> non-zero chance of success. However as there's no requirement that a
> router also must run a NTP service, there's also a non-zero chance of
> failure, which would lead to junk packets being transmitted.
> 
> This reverts commit bbd1981. Since that time, the "FallbackTimeservers"
> config option has been implemented, which is a much better way to deal
> with the eventuality of not receiving any NTP server list via DHCP.

it is actually not. There are cases where you can reach the gateway, but not 
reach anything else. So I am fine with making this behavior optional based on a 
main.conf setting, but just removing it is not an option. We do want ConnMan to 
figure things out by itself and FallbackTimeservers are a bad choice here.

So if you want to not fallback to a gateway as NTP server, then please add a 
configuration option in main.conf that allows disabling this behavior.

Regards

Marcel

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to