2012-03-19 10:24:53 +00:00
|
|
|
--- libnetlink.c.orig 2012-03-16 09:03:33.422941268 -0400
|
|
|
|
+++ libnetlink.c 2012-03-16 09:03:52.113707601 -0400
|
|
|
|
@@ -41,7 +41,7 @@
|
2011-12-27 13:04:31 +00:00
|
|
|
int sndbuf = 32768;
|
|
|
|
int rcvbuf = 32768;
|
|
|
|
|
|
|
|
- memset(rth, 0, sizeof(rth));
|
|
|
|
+ memset(rth, 0, sizeof(*rth));
|
|
|
|
|
2012-03-19 10:24:53 +00:00
|
|
|
rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol);
|
2011-12-27 13:04:31 +00:00
|
|
|
if (rth->fd < 0) {
|