get_dhcp4_config


Description:

public unowned DhcpConfig get_dhcp4_config ()

Gets the current IPv4 DhcpConfig associated with the Device.

You can alternatively use get_dhcp4_config, which also works with VPN connections.

Parameters:

this

a Device

Returns:

the IPv4 DhcpConfig, or null if the device is not activated or not using DHCP.