mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 22:20:12 +01:00
Having the original hostname checks in the settings-service code didn't allow the policy enough granularity to differentiate between a plugin-provided hostname and the original hostname. We want to fall back to the original hostname if there isn't a persistent hostname (from a plugin) and if there isn't a DHCP-provided hostname. Moving the original hostname checks to the policy makes that possible. Clarify the precedence order at the same time, and minimally validate the DHCP hostname as well. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| nm-default-wired-connection.c | ||
| nm-default-wired-connection.h | ||
| nm-inotify-helper.c | ||
| nm-inotify-helper.h | ||
| nm-polkit-helpers.h | ||
| nm-sysconfig-connection.c | ||
| nm-sysconfig-connection.h | ||
| nm-sysconfig-settings.c | ||
| nm-sysconfig-settings.h | ||
| nm-system-config-error.c | ||
| nm-system-config-error.h | ||
| nm-system-config-interface.c | ||
| nm-system-config-interface.h | ||