Added a check for NULL pointer when wlaking though interfaces (though i

* netload.c: (get_ipv6), (glibtop_get_netload_s): Added a check for NULL
	pointer when wlaking though interfaces (though i don't understand why some
	interface don't have an ifa_addr).
	Move all ipv6 code into a separate function. Added a paranoid check on
	getifaddrs.
This commit is contained in:
Benoît Dejean
2004-11-15 14:58:06 +00:00
parent bbb6cbaa87
commit 1d6debfa56
2 changed files with 78 additions and 48 deletions

View File

@@ -1,3 +1,11 @@
2004-11-15 Benoît Dejean <tazforever@dlfp.org>
* netload.c: (get_ipv6), (glibtop_get_netload_s): Added a check for NULL
pointer when wlaking though interfaces (though i don't understand why some
interface don't have an ifa_addr).
Move all ipv6 code into a separate function. Added a paranoid check on
getifaddrs.
2004-11-13 Benoît Dejean <tazforever@dlfp.org>
* netlist.c: (glibtop_get_netlist_s): Killed warning.