NetworkManager/src/dhcp
Thomas Haller 4aa7285dc2 dhcp: let lease_to_ip4_config() allocate option hash
lease_to_ip4_config() can fail, if the lease is broken. As such, a function
that fails should not modifiy an in/out parameter. Avoid that, by not
having the caller pre-allocate the options hash, but instead allocate it
by the lease_to_ip*_config() functions, and return it only on success.
2018-12-19 09:23:08 +01:00
..
tests dhcp: refactor nm_dhcp_dhclient_save_duid() to accept original DUID 2018-11-13 19:09:33 +01:00
meson.build build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
nm-dhcp-client-logging.h core/dhcp: use addr-family parameter for instead of boolean 2017-09-11 15:05:57 +02:00
nm-dhcp-client.c dhcp: drop unused variable 2018-11-19 17:49:25 +01:00
nm-dhcp-client.h dhcp: initialize hostname as construct-property 2018-11-14 08:11:41 +01:00
nm-dhcp-dhclient-utils.c dhcp: don't request DHCP6 client-id option with internal client 2018-12-19 09:23:08 +01:00
nm-dhcp-dhclient-utils.h dhcp: refactor nm_dhcp_dhclient_save_duid() to accept original DUID 2018-11-13 19:09:33 +01:00
nm-dhcp-dhclient.c dhcp/trivial: wrap lines in calling client_start() 2018-11-13 19:09:34 +01:00
nm-dhcp-dhcpcanon.c dhcp: don't pass duid to client ip6_start() and stop() 2018-11-13 19:09:33 +01:00
nm-dhcp-dhcpcd.c dhcp: don't pass duid to client ip6_start() and stop() 2018-11-13 19:09:33 +01:00
nm-dhcp-helper-api.h build: rename "src/dhcp-manager" to "src/dhcp" 2016-11-21 14:07:47 +01:00
nm-dhcp-helper.c all: remove \n endings from log calls 2018-10-12 14:34:58 +02:00
nm-dhcp-listener.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-dhcp-listener.h build: rename "src/dhcp-manager" to "src/dhcp" 2016-11-21 14:07:47 +01:00
nm-dhcp-manager.c dhcp: initialize hostname as construct-property 2018-11-14 08:11:41 +01:00
nm-dhcp-manager.h device: add "dhcp-plugin" match spec for device 2018-11-01 11:17:12 +01:00
nm-dhcp-systemd.c dhcp: let lease_to_ip4_config() allocate option hash 2018-12-19 09:23:08 +01:00
nm-dhcp-utils.c all: don't use static buffer for nm_utils_inet*_ntop() 2018-12-19 09:23:08 +01:00
nm-dhcp-utils.h dhcp: drop NMDhcpDuidEnforce type 2018-06-20 11:39:27 +02:00