sd-dhcp6: Support deprecated SNTP Configuration Option
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 10 Apr 2015 13:17:22 +0000 (16:17 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 21 Aug 2015 08:23:22 +0000 (11:23 +0300)
commit41e4615d4f4f5c61afa84ba857f23c0ac496687b
tree8419033d97e31070fb8f1c9bb5ad0bed6d9e0641
parent6599680e2d33597f0f11a99e1c3c957b42418568
sd-dhcp6: Support deprecated SNTP Configuration Option

Although the SNTP option specified in RFC 4075 has been deprecated, some
servers are still sending NTP information with this option. Use the SNTP
information provided only if the NTP option is not present.

Update the test case as SNTP information is also requested.
src/libsystemd-network/dhcp6-lease-internal.h
src/libsystemd-network/dhcp6-protocol.h
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/sd-dhcp6-lease.c
src/libsystemd-network/test-dhcp6-client.c