mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-14 21:50:30 +01:00
core/trivial: add code comment to _set_hostname()
This commit is contained in:
parent
122070142d
commit
eaa0b533da
1 changed files with 4 additions and 1 deletions
|
|
@ -609,7 +609,10 @@ _set_hostname(NMPolicy *self, const char *new_hostname, const char *msg)
|
|||
_LOGI(LOGD_DNS, "set-hostname: set hostname to '%s' (%s)", name, msg);
|
||||
|
||||
/* Ask NMSettings to update the transient hostname using its
|
||||
* systemd-hostnamed proxy */
|
||||
* systemd-hostnamed proxy.
|
||||
*
|
||||
* FIXME(shutdown): an async request must be cancellable, so we are guaranteed
|
||||
* to tear down in a reasonable time.*/
|
||||
nm_hostname_manager_set_transient_hostname(priv->hostname_manager,
|
||||
name,
|
||||
settings_set_hostname_cb,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue