NetworkManager/src/dhcp-manager
Beniamino Galvani 78fc92abe8 device: accept multiple addresses in a DHCPv6 lease
When the DHCPv6 lease received from the server contains multiple
addresses, dhclient generates a new BOUND event for each of
them. Instead of overwriting the previous IP6 configuration for each
BOUND event, we should try to detect if the new configuration belongs
to the same lease and merge its addresses with the existing one in
such case.

This allows NetworkManager to configure multiple addresses on an
interface via DHCPv6.

https://bugzilla.gnome.org/show_bug.cgi?id=681764
https://bugzilla.redhat.com/show_bug.cgi?id=1244293
(cherry picked from commit 1d6e8e8da7)
2015-08-26 15:18:34 +02:00
..
systemd-dhcp systemd/dhcp: add support for vendor specific DHCP option 2015-07-22 13:52:46 +02:00
tests dhcp/tests: fix memleaks in tests (test_vendor_option_metered) 2015-08-12 16:14:32 +02:00
Makefile.am dhcp-manager: port nm-dhcp-helper from dbus-glib to gdbus 2014-09-04 18:19:21 -04:00
nm-dhcp-client.c device: accept multiple addresses in a DHCPv6 lease 2015-08-26 15:18:34 +02:00
nm-dhcp-client.h core: better handle DHCP expiry/nak during initial lease acquisition (bgo #739482) 2014-12-12 11:00:00 -06:00
nm-dhcp-dhclient-utils.c build: rename file "include/nm-utils-internal.h" to "nm-macros-internal.h" 2015-06-19 12:21:58 +02:00
nm-dhcp-dhclient-utils.h dhcp: preserve DHCPv4 client ID for later use 2014-11-07 12:18:32 -06:00
nm-dhcp-dhclient.c core: add nm_utils_setpgid(), and use it 2015-06-20 11:01:27 +02:00
nm-dhcp-dhclient.h dhcp: move client-specific knowledge out of the manager 2014-11-07 12:18:32 -06:00
nm-dhcp-dhcpcd.c core: add nm_utils_setpgid(), and use it 2015-06-20 11:01:27 +02:00
nm-dhcp-dhcpcd.h dhcp: move client-specific knowledge out of the manager 2014-11-07 12:18:32 -06:00
nm-dhcp-helper.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp-helper.conf dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
nm-dhcp-listener.c core: use NM_DEFINE_SINGLETON_GETTER() macro 2015-06-19 13:34:32 +02:00
nm-dhcp-listener.h dhcp: move D-Bus DHCP listener into separate class 2014-11-07 12:18:32 -06:00
nm-dhcp-manager.c device: accept multiple addresses in a DHCPv6 lease 2015-08-26 15:18:34 +02:00
nm-dhcp-manager.h dhcp: pass device specific route metric to nm_dhcp_systemd_get_lease_ip_configs() 2014-11-24 10:52:56 -05:00
nm-dhcp-systemd.c dhcp: detect NMIP4Config 'metered' flag based on ANDROID_METERED DHCP option 2015-07-22 13:52:46 +02:00
nm-dhcp-systemd.h dhcp: move client-specific knowledge out of the manager 2014-11-07 12:18:32 -06:00
nm-dhcp-utils.c dhcp: detect NMIP4Config 'metered' flag based on ANDROID_METERED DHCP option 2015-07-22 13:52:46 +02:00
nm-dhcp-utils.h dhcp: add nm_dhcp_utils_client_id_string_to_bytes() 2014-11-06 21:58:32 -06:00