Explorar o código

printing ipv6 addresses often needs more than a 32 byte buffer. THis could
causes a crash with sone ipv6 installations.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1135 fd59a12c-fef9-0310-b244-a6a79926bd2f

Patrick Caulfield %!s(int64=19) %!d(string=hai) anos
pai
achega
5d7b5f7fdd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      exec/totempg.c

+ 1 - 1
exec/totempg.c

@@ -1154,7 +1154,7 @@ int totempg_ifaces_get (
 char *totempg_ifaces_print (unsigned int nodeid)
 {
 	static char iface_string[256 * INTERFACE_MAX];
-	char one_iface[32];
+	char one_iface[64];
 	struct totem_ip_address interfaces[INTERFACE_MAX];
 	unsigned int iface_count;
 	unsigned int i;