dhcp: support FQDN flags in the dhclient backend

System Internals / NetworkManager - Beniamino Galvani [redhat.com] - 28 November 2019 16:56 EST

Make the dhclient backend honor the ipv4.dhcp-fqdn-flags setting.

316ff68bf dhcp: support FQDN flags in the dhclient backend
man/NetworkManager.conf.xml | 8 ++++
shared/nm-libnm-core-intern/nm-common-macros.h | 1 -
src/devices/nm-device.c | 50 +++++++++++++++++++++-
src/dhcp/nm-dhcp-client.c | 20 +++++++++
src/dhcp/nm-dhcp-client.h | 3 ++
src/dhcp/nm-dhcp-dhclient-utils.c | 57 ++++++++++++++++----------
src/dhcp/nm-dhcp-dhclient-utils.h | 1 +
src/dhcp/nm-dhcp-dhclient.c | 6 +++
src/dhcp/nm-dhcp-manager.c | 6 +++
src/dhcp/nm-dhcp-manager.h | 2 +
src/dhcp/tests/test-dhcp-dhclient.c | 41 +++++++++++++++---
src/nm-iface-helper.c | 2 +
12 files changed, 169 insertions(+), 28 deletions(-)

Upstream: cgit.freedesktop.org


  • Share