]>
Commit | Line | Data |
---|---|---|
bc42c002 AM |
1 | --- collectd-5.0.2/src/netlink.c~ 2012-01-22 12:10:04.000000000 +0100 |
2 | +++ collectd-5.0.2/src/netlink.c 2012-01-23 14:59:51.180465183 +0100 | |
3 | @@ -570,8 +570,7 @@ | |
4 | return (-1); | |
5 | } | |
6 | ||
7 | - if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL, | |
8 | - NULL, NULL) != 0) | |
9 | + if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL) != 0) | |
10 | { | |
11 | ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed."); | |
12 | return (-1); | |
13 | @@ -608,8 +607,7 @@ | |
14 | continue; | |
15 | } | |
16 | ||
17 | - if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex, | |
18 | - NULL, NULL) != 0) | |
19 | + if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex) != 0) | |
20 | { | |
21 | ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed."); | |
22 | continue; |