summaryrefslogtreecommitdiff
path: root/gnome-unstable/networkmanager/disable_set_hostname.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-21 23:14:42 +0000
committerroot <root@rshg054.dnsready.net>2011-09-21 23:14:42 +0000
commitb7f839da11975b9f2a964a82d591b7a8628f0931 (patch)
treebb6a7aee842680de3a5038e34d27256ca1d389ef /gnome-unstable/networkmanager/disable_set_hostname.patch
parentae08410274473c5ab78d300ea2365c4b1070cc61 (diff)
Wed Sep 21 23:14:42 UTC 2011
Diffstat (limited to 'gnome-unstable/networkmanager/disable_set_hostname.patch')
-rw-r--r--gnome-unstable/networkmanager/disable_set_hostname.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnome-unstable/networkmanager/disable_set_hostname.patch b/gnome-unstable/networkmanager/disable_set_hostname.patch
new file mode 100644
index 000000000..ee95dd0e1
--- /dev/null
+++ b/gnome-unstable/networkmanager/disable_set_hostname.patch
@@ -0,0 +1,19 @@
+diff -Nur NetworkManager-0.9.0.orig/src/nm-policy.c NetworkManager-0.9.0/src/nm-policy.c
+--- NetworkManager-0.9.0.orig/src/nm-policy.c 2011-08-23 06:41:02.099686450 +0000
++++ NetworkManager-0.9.0/src/nm-policy.c 2011-08-23 06:43:38.227791737 +0000
+@@ -302,6 +302,7 @@
+ return;
+ }
+
++#if 0
+ /* Try automatically determined hostname from the best device's IP config */
+ if (!best4)
+ best4 = get_best_ip4_device (policy->manager, &best_req4);
+@@ -356,6 +357,7 @@
+ }
+ }
+
++#endif
+ /* If no automatically-configured hostname, try using the hostname from
+ * when NM started up.
+ */