Systemd/src/libsystemd-network
Thomas Haller 8217ed5ec3 network: fix handling of uninitialized and zero IAID setting
An earlier commit 0e408b82b (dhcp6-client: handle IAID with value zero)
introduced a flag to sd_dhcp6_client to distinguish between an unset
IAID and a value set to zero.

However, that was not sufficient and broke leaving the setting
uninitialized in networkd configuration. The configuration parsing
also must distinguish between the default, unset value and an
explict zero configuration.

Fixes: 0e408b82b8
2018-12-10 14:25:28 +01:00
..
arp-util.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
arp-util.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
dhcp-identifier.c dhcp: support endianness independent dhcp_identifier_set_iaid() 2018-11-12 19:08:35 +01:00
dhcp-identifier.h dhcp: support endianness independent dhcp_identifier_set_iaid() 2018-11-12 19:08:35 +01:00
dhcp-internal.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
dhcp-lease-internal.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
dhcp-network.c tree-wide: use setsockopt_int() more 2018-10-19 05:52:42 +09:00
dhcp-option.c tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
dhcp-packet.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
dhcp-protocol.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
dhcp-server-internal.h tree-wide: make hash_ops typesafe 2018-12-02 07:53:27 +01:00
dhcp6-internal.h dhcp6: constify things where we can 2018-10-25 11:23:19 +02:00
dhcp6-lease-internal.h dhcp6-client: Store lease timeouts T1 and T1 in client struct 2018-09-19 13:45:18 -06:00
dhcp6-network.c tree-wide: introduce setsockopt_int() helper and make use of it everywhere 2018-10-18 19:50:29 +02:00
dhcp6-option.c dhcp6: prefer offsetof() over sizeof() for structs with undefined sizes 2018-10-25 11:23:19 +02:00
dhcp6-protocol.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
icmp6-util.c tree-wide: use IOVEC_MAKE() at many places 2018-11-27 10:12:27 +01:00
icmp6-util.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
lldp-internal.h lldp: improve debug log message 2018-11-06 20:15:09 +09:00
lldp-neighbor.c util: drop missing.h from util.h 2018-12-04 10:00:34 +01:00
lldp-neighbor.h lldp: rename lldp_neighbor_id_hash_ops and set value destructor 2018-12-02 12:18:54 +01:00
lldp-network.c util: drop missing.h from util.h 2018-12-04 10:00:34 +01:00
lldp-network.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
meson.build Drop my copyright headers 2018-06-14 13:03:20 +02:00
ndisc-internal.h ndisc: improve debug log message 2018-11-06 20:15:09 +09:00
ndisc-router.c resolve: reject host names with leading or trailing dashes in /etc/hosts 2018-12-10 09:56:56 +01:00
ndisc-router.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
network-internal.c network: fix handling of uninitialized and zero IAID setting 2018-12-10 14:25:28 +01:00
network-internal.h network: fix handling of uninitialized and zero IAID setting 2018-12-10 14:25:28 +01:00
radv-internal.h sd-radv: remove log_radv_warning_errno() 2018-10-02 16:22:54 +02:00
sd-dhcp-client.c network: fix handling of uninitialized and zero IAID setting 2018-12-10 14:25:28 +01:00
sd-dhcp-lease.c resolve: reject host names with leading or trailing dashes in /etc/hosts 2018-12-10 09:56:56 +01:00
sd-dhcp-server.c dhcp: introduce dhcp_lease_hash_ops and use it 2018-12-02 12:17:28 +01:00
sd-dhcp6-client.c network: fix handling of uninitialized and zero IAID setting 2018-12-10 14:25:28 +01:00
sd-dhcp6-lease.c sd-dhcp6: do not update serverid when ENOMEM 2018-10-19 06:11:58 +09:00
sd-ipv4acd.c ipv4acd: do not unref() event sources when update or disable them 2018-11-16 22:57:42 +09:00
sd-ipv4ll.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
sd-lldp.c util: drop missing.h from socket-util.h 2018-12-06 13:31:16 +01:00
sd-ndisc.c sd-ndisc: do not unref() event sources when update or disable them 2018-11-16 22:57:42 +09:00
sd-radv.c networkd: refuse IPv6 RADV prefixes that lack Prefix= setting 2018-11-30 22:19:28 +01:00
test-acd.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-dhcp-client.c dhcp: support endianness independent dhcp_identifier_set_iaid() 2018-11-12 19:08:35 +01:00
test-dhcp-option.c Merge pull request #2589 from keszybz/resolve-tool-2 2016-02-13 11:15:41 +01:00
test-dhcp-server.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-dhcp6-client.c util: drop missing.h from socket-util.h 2018-12-06 13:31:16 +01:00
test-ipv4ll-manual.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-ipv4ll.c libsystemd-network: set SOCK_CLOEXEC and SOCK_NONBLOCK 2018-11-12 02:03:22 +09:00
test-lldp.c libsystemd-network: set SOCK_CLOEXEC and SOCK_NONBLOCK 2018-11-12 02:03:22 +09:00
test-ndisc-ra.c libsystemd-network: set SOCK_CLOEXEC and SOCK_NONBLOCK 2018-11-12 02:03:22 +09:00
test-ndisc-rs.c libsystemd-network: set SOCK_CLOEXEC and SOCK_NONBLOCK 2018-11-12 02:03:22 +09:00
test-sd-dhcp-lease.c network: Implement DHCP Option 119 (Domain Search List) (#5932) 2017-05-13 10:19:32 -04:00