forked from pool/collectd
32073e0ab5
Accepted submit request 59758 from user schubi2 OBS-URL: https://build.opensuse.org/request/show/59758 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/collectd?expand=0&rev=1
21 lines
591 B
Diff
21 lines
591 B
Diff
--- src/netlink.c.orig 2009-02-17 12:56:09.000000000 +0100
|
|
+++ src/netlink.c 2009-02-17 12:56:44.000000000 +0100
|
|
@@ -573,7 +573,7 @@
|
|
}
|
|
|
|
if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL,
|
|
- NULL, NULL) != 0)
|
|
+ (rtnl_filter_t)NULL, NULL) != 0)
|
|
{
|
|
ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed.");
|
|
return (-1);
|
|
@@ -611,7 +611,7 @@
|
|
}
|
|
|
|
if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex,
|
|
- NULL, NULL) != 0)
|
|
+ (rtnl_filter_t)NULL, NULL) != 0)
|
|
{
|
|
ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed.");
|
|
continue;
|