get_dhcp4_config


Description:

public unowned DHCP4Config get_dhcp4_config ()

Gets the current DHCP4Config associated with the Device.

Note that as of NetworkManager 0.9.10, you can alternatively use get_dhcp4_config, which also works with VPN connections.

Parameters:

this

a Device

Returns:

the DHCP4Config or null if the device is not activated or not using DHCP.