Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 817ecda00233fd26e5f20e6b42152346 > files > 1

networkmanager-0.7.0-0.3675.3mdv2009.0.src.rpm

--- NetworkManager-0.7.0/src/nm-device.c.orig	2008-06-10 16:28:04.021867934 +0200
+++ NetworkManager-0.7.0/src/nm-device.c	2008-06-10 16:49:28.451864622 +0200
@@ -664,7 +664,7 @@ release_shared_ip (gpointer data)
 static guint32
 reserve_shared_ip (void)
 {
-	guint32 start = (guint32) ntohl (0x0a2a2b01); /* 10.42.43.1 */
+	guint64 start = (guint32) ntohl (0x0a2a2b01); /* 10.42.43.1 */
 	guint32 count = 0;
 
 	while (g_hash_table_lookup (shared_ips, (gpointer) (start + count))) {