Magellan Linux

Annotation of /trunk/networkmanager/patches/networkmanager-0.9.6.0-hostname.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1882 - (hide annotations) (download)
Wed Aug 22 12:37:45 2012 UTC (11 years, 9 months ago) by niro
File size: 596 byte(s)
-re-diffed for 0.9.6.0
1 niro 1882 diff -Naur NetworkManager-0.9.6.0/src/nm-policy.c NetworkManager-0.9.6.0-magellan/src/nm-policy.c
2     --- NetworkManager-0.9.6.0/src/nm-policy.c 2012-08-02 22:41:52.000000000 +0200
3     +++ NetworkManager-0.9.6.0-magellan/src/nm-policy.c 2012-08-22 16:35:48.631981111 +0200
4     @@ -315,6 +315,7 @@
5     return;
6     }
7    
8     +#if 0
9     /* Try automatically determined hostname from the best device's IP config */
10     if (!best4)
11     best4 = get_best_ip4_device (policy->manager);
12     @@ -369,6 +370,7 @@
13     }
14     }
15    
16     +#endif
17     /* If no automatically-configured hostname, try using the hostname from
18     * when NM started up.
19     */