Re: [gnome-network][PATCH] netstat

Carlos Garcia Campos wrote:
I have added a function that check if IPv6 is enabled in the system and
only uses -A inet6 when it is possible. I have attached an updated

Hmm, that function always returns true for me. Does the following work for you? We won't only need to add cases here for systems that don't handle IPv6 gracefully (like Solaris 9 does).

netinfo_is_ipv6_enabled (void)

#if defined(__linux__)
	return g_file_test ("/proc/net/if_inet6", G_FILE_TEST_EXISTS);

	return TRUE;

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