Magellan Linux

Contents of /trunk/networkmanager/patches/networkmanager-0.7.999-hostname.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 980 - (show annotations) (download)
Sat Feb 13 11:25:26 2010 UTC (14 years, 3 months ago) by niro
File size: 571 byte(s)
-networkmanager-0.7.999 custom files and patches

1 --- NetworkManager-0.7.999/src/NetworkManagerPolicy.c.orig 2010-01-30 19:43:15.000000000 +0100
2 +++ NetworkManager-0.7.999/src/NetworkManagerPolicy.c 2010-01-30 19:45:02.000000000 +0100
3 @@ -431,7 +431,7 @@
4 g_free (configured_hostname);
5 return;
6 }
7 -
8 +#if 0
9 /* Try automatically determined hostname from the best device's IP config */
10 if (!best)
11 best = get_best_device (policy->manager, &best_req);
12 @@ -475,6 +475,7 @@
13 /* Fall back to 'localhost.localdomain' */
14 set_system_hostname (NULL, "error starting hostname thread");
15 }
16 +#endif
17 }
18
19 static void