From 6ebce4df1ba1f5777abf0e7c2b0f0d0c70366853 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Wed, 13 Mar 2013 14:14:12 +0100 Subject: [PATCH] --- yaml --- r: 363093 b: refs/heads/master c: 77d6a5289343665a41f55c0ea46c169b3f551a24 h: refs/heads/master i: 363091: d5726077255ff58ec3d2fd53a8175321a4adf9bf v: v3 --- [refs] | 2 +- trunk/tools/hv/hv_kvp_daemon.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 5cdac195ae4b..f0b57db52c4a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3334948428c6370d664099cdcdfd4b487191293d +refs/heads/master: 77d6a5289343665a41f55c0ea46c169b3f551a24 diff --git a/trunk/tools/hv/hv_kvp_daemon.c b/trunk/tools/hv/hv_kvp_daemon.c index c800ea4c8bf9..908a612ac992 100644 --- a/trunk/tools/hv/hv_kvp_daemon.c +++ b/trunk/tools/hv/hv_kvp_daemon.c @@ -1443,7 +1443,7 @@ int main(void) addr.nl_family = AF_NETLINK; addr.nl_pad = 0; addr.nl_pid = 0; - addr.nl_groups = CN_KVP_IDX; + addr.nl_groups = 0; error = bind(fd, (struct sockaddr *)&addr, sizeof(addr)); @@ -1452,7 +1452,7 @@ int main(void) close(fd); exit(EXIT_FAILURE); } - sock_opt = addr.nl_groups; + sock_opt = CN_KVP_IDX; setsockopt(fd, 270, 1, &sock_opt, sizeof(sock_opt)); /* * Register ourselves with the kernel.