projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perl plugin: mark file variable as const
[collectd.git]
/
src
/
netlink.c
diff --git
a/src/netlink.c
b/src/netlink.c
index
de2de9b
..
d4661ce
100644
(file)
--- a/
src/netlink.c
+++ b/
src/netlink.c
@@
-30,7
+30,6
@@
#include "common.h"
#include <asm/types.h>
#include "common.h"
#include <asm/types.h>
-#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
@@
-471,7
+470,7
@@
static int qos_filter_cb (const struct nlmsghdr *nlh, void *args)
const char *kind = NULL;
/* char *type_instance; */
const char *kind = NULL;
/* char *type_instance; */
- char *tc_type;
+ c
onst c
har *tc_type;
char tc_inst[DATA_MAX_NAME_LEN];
_Bool stats_submitted = 0;
char tc_inst[DATA_MAX_NAME_LEN];
_Bool stats_submitted = 0;
@@
-780,7
+779,7
@@
static int ir_read (void)
continue;
}
continue;
}
- DEBUG ("netlink plugin: ir_read: querying %s from %s (%
l
u).",
+ DEBUG ("netlink plugin: ir_read: querying %s from %s (%
z
u).",
type_name[type_index], iflist[ifindex], ifindex);
nlh = mnl_nlmsg_put_header (buf);
type_name[type_index], iflist[ifindex], ifindex);
nlh = mnl_nlmsg_put_header (buf);