diff options
author | Thomas Haller <thaller@redhat.com> | 2017-09-11 10:43:48 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-09-11 15:05:57 +0200 |
commit | 1aa36dde94dfb32a7172815ecb918b662aa9253b (patch) | |
tree | c9f45271a22d2591297a7eac8a5f2e9ec8a811f8 /src/devices/nm-device-private.h | |
parent | fa46736013fa1e3df1508b1f67b495ce45daf94a (diff) | |
download | NetworkManager-1aa36dde94dfb32a7172815ecb918b662aa9253b.tar.gz |
device: enable support for ipv6.dhcp-timeout
- cleanup data type and use guint32 consistently. We might want to
introduce a new "infinity" value. But since libnm's
NM_SETTING_IP_CONFIG_DHCP_TIMEOUT asserts against the range
0 - G_MAXINT32, we cannot express it as -1 anyway. So, infinity
will have the numerical value G_MAXINT32, hence guint32 is just
fine.
- make use of existing ipv6.dhcp-timeout setting and add global
default configuration in NetworkManager.conf
- instead of having subclasses call nm_device_set_dhcp_timeout(),
add a virtual function get_dhcp_timeout().
Diffstat (limited to 'src/devices/nm-device-private.h')
-rw-r--r-- | src/devices/nm-device-private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h index a884faa2bf..28702f8af3 100644 --- a/src/devices/nm-device-private.h +++ b/src/devices/nm-device-private.h @@ -85,7 +85,6 @@ gboolean nm_device_activate_ip6_state_in_conf (NMDevice *device); gboolean nm_device_activate_ip6_state_in_wait (NMDevice *device); gboolean nm_device_activate_ip6_state_done (NMDevice *device); -void nm_device_set_dhcp_timeout (NMDevice *device, guint32 timeout); void nm_device_set_dhcp_anycast_address (NMDevice *device, const char *addr); gboolean nm_device_dhcp4_renew (NMDevice *device, gboolean release); |