1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-13 12:58:20 +03:00

networkd: change SendRelease default to true

Now that we don't drop DHCP config on restart, this seems appropriate.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-10-01 17:25:31 +02:00
parent 800603524a
commit 5f3b5f190f
2 changed files with 2 additions and 1 deletions

View File

@ -1568,7 +1568,7 @@
<term><varname>SendRelease=</varname></term>
<listitem>
<para>When true, the DHCPv4 client sends a DHCP release packet when it stops.
Defaults to false.</para>
Defaults to true.</para>
</listitem>
</varlistentry>

View File

@ -371,6 +371,7 @@ int network_load_one(Manager *manager, const char *filename) {
.dhcp_use_routes = true,
/* NOTE: this var might be overwritten by network_apply_anonymize_if_set */
.dhcp_send_hostname = true,
.dhcp_send_release = true,
/* To enable/disable RFC7844 Anonymity Profiles */
.dhcp_anonymize = false,
.dhcp_route_metric = DHCP_ROUTE_METRIC,