diff options
author | root <root@rshg054.dnsready.net> | 2011-10-30 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-30 23:14:36 +0000 |
commit | f935ebf41c626e4832f86c5f3f7ed1cc35128f6b (patch) | |
tree | 47a2300dc31ddb01a11ad22b0a515de26f752c18 /testing/networkmanager/disable_set_hostname.patch | |
parent | 4fd31f219f19dfc2168702cef9421eaaccd9b3e6 (diff) |
Sun Oct 30 23:14:36 UTC 2011
Diffstat (limited to 'testing/networkmanager/disable_set_hostname.patch')
-rw-r--r-- | testing/networkmanager/disable_set_hostname.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/networkmanager/disable_set_hostname.patch b/testing/networkmanager/disable_set_hostname.patch new file mode 100644 index 000000000..ee95dd0e1 --- /dev/null +++ b/testing/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. + */ |