diff options
author | Dan Williams <dcbw@redhat.com> | 2008-04-18 16:48:56 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2008-04-18 16:48:56 +0000 |
commit | 5e3121cee81179d079a6c9219d0a69bb8df14577 (patch) | |
tree | 301c37ebbc16f8ad85c8547de453d4ebfac83b53 /libnm-util/nm-setting-ppp.c | |
parent | a8f9a8d38e3a9f2529272a6cf5a0b2689701c8b3 (diff) | |
download | NetworkManager-5e3121cee81179d079a6c9219d0a69bb8df14577.tar.gz |
2008-04-18 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-ppp.c
libnm-util/nm-setting-ppp.h
src/ppp-manager/nm-ppp-manager.c
- Remove the 'usepeerdns' option and always request DNS servers from
the PPP server; the connection chooses to use/override/ignore the
DNS servers returned from the PPP server
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3576 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-util/nm-setting-ppp.c')
-rw-r--r-- | libnm-util/nm-setting-ppp.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libnm-util/nm-setting-ppp.c b/libnm-util/nm-setting-ppp.c index c96897ec69..e7317730c3 100644 --- a/libnm-util/nm-setting-ppp.c +++ b/libnm-util/nm-setting-ppp.c @@ -16,7 +16,6 @@ enum { PROP_REQUIRE_MPPE_128, PROP_MPPE_STATEFUL, PROP_CRTSCTS, - PROP_USEPEERDNS, PROP_BAUD, PROP_MRU, PROP_MTU, @@ -84,9 +83,6 @@ set_property (GObject *object, guint prop_id, case PROP_CRTSCTS: setting->crtscts = g_value_get_boolean (value); break; - case PROP_USEPEERDNS: - setting->usepeerdns = g_value_get_boolean (value); - break; case PROP_BAUD: setting->baud = g_value_get_uint (value); break; @@ -145,9 +141,6 @@ get_property (GObject *object, guint prop_id, case PROP_CRTSCTS: g_value_set_boolean (value, setting->crtscts); break; - case PROP_USEPEERDNS: - g_value_set_boolean (value, setting->usepeerdns); - break; case PROP_BAUD: g_value_set_uint (value, setting->baud); break; @@ -262,14 +255,6 @@ nm_setting_ppp_class_init (NMSettingPPPClass *setting_class) G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); g_object_class_install_property - (object_class, PROP_USEPEERDNS, - g_param_spec_boolean (NM_SETTING_PPP_USEPEERDNS, - "Use peer DNS", - "Use peer DNS", - FALSE, - G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); - - g_object_class_install_property (object_class, PROP_BAUD, g_param_spec_uint (NM_SETTING_PPP_BAUD, "Baud", |