summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-ip6-config.h
diff options
context:
space:
mode:
authorGene Czarcinski <gene@czarc.net>2012-10-19 14:07:41 +0200
committerDan Williams <dcbw@redhat.com>2012-11-16 17:26:19 -0600
commit90b99522d7b35e253926e48f5df8a22270ab7610 (patch)
tree4eb6db0868750985e74e69c45412eff995e24847 /libnm-util/nm-setting-ip6-config.h
parent1a7e7c9031526b0c8973965c826ad7d1b7cc22f9 (diff)
downloadNetworkManager-90b99522d7b35e253926e48f5df8a22270ab7610.tar.gz
dhcp: fix DHCPv6 to support server-side dynamic DNS (bgo #684242)
This patch makes DHCPv6 support more or less equivalent to that one of IPv4 DHCP. (dcbw: fix some formatting, rearrange code so it's less convoluted, fix up writing hostname to ifcfg files)
Diffstat (limited to 'libnm-util/nm-setting-ip6-config.h')
-rw-r--r--libnm-util/nm-setting-ip6-config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm-util/nm-setting-ip6-config.h b/libnm-util/nm-setting-ip6-config.h
index 05c1666874..29650486c2 100644
--- a/libnm-util/nm-setting-ip6-config.h
+++ b/libnm-util/nm-setting-ip6-config.h
@@ -69,6 +69,8 @@ GQuark nm_setting_ip6_config_error_quark (void);
#define NM_SETTING_IP6_CONFIG_NEVER_DEFAULT "never-default"
#define NM_SETTING_IP6_CONFIG_MAY_FAIL "may-fail"
#define NM_SETTING_IP6_CONFIG_IP6_PRIVACY "ip6-privacy"
+#define NM_SETTING_IP6_CONFIG_DHCP_HOSTNAME "dhcp-hostname"
+
/**
* NM_SETTING_IP6_CONFIG_METHOD_IGNORE:
@@ -239,6 +241,7 @@ void nm_setting_ip6_config_clear_routes (NMSettingIP
gboolean nm_setting_ip6_config_get_ignore_auto_routes (NMSettingIP6Config *setting);
gboolean nm_setting_ip6_config_get_ignore_auto_dns (NMSettingIP6Config *setting);
+const char * nm_setting_ip6_config_get_dhcp_hostname (NMSettingIP6Config *setting);
gboolean nm_setting_ip6_config_get_never_default (NMSettingIP6Config *setting);
gboolean nm_setting_ip6_config_get_may_fail (NMSettingIP6Config *setting);
NMSettingIP6ConfigPrivacy nm_setting_ip6_config_get_ip6_privacy (NMSettingIP6Config *setting);