NetworkManager r4241 - trunk/libnm-util



Author: dcbw
Date: Thu Oct 30 21:02:26 2008
New Revision: 4241
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4241&view=rev

Log:
Fix IPv6 prefix length

Modified:
   trunk/libnm-util/nm-utils.c

Modified: trunk/libnm-util/nm-utils.c
==============================================================================
--- trunk/libnm-util/nm-utils.c	(original)
+++ trunk/libnm-util/nm-utils.c	Thu Oct 30 21:02:26 2008
@@ -1056,7 +1056,7 @@
 
 		tmp = g_value_array_get_nth (elements, 1);
 		prefix = g_value_get_uint (tmp);
-		if (prefix > 32) {
+		if (prefix > 128) {
 			nm_warning ("%s: ignoring invalid IP6 prefix %d",
 			            __func__, prefix);
 			continue;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]