Skip to content

ip: support dhcp-send-release in NMSettingIpConfig

Fernando Fernández Mancera requested to merge ff/dhcp_release into main


Introduce a new option to NMSettingIpConfig. The new option is ternary type being the default value set to disabled. When enabled, NetworkManager will instruct the DHCP client to send RELEASE message when the removing IP addresses.


After bringing down a connection, NetworkManager is not configuring the DHCP client to send a RELEASE message. That causes the DHCP server to do not release the leased addresses. In order to fix that, this patch introduces a new option to configure it.



Please read before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
Edited by Fernando Fernández Mancera

Merge request reports