summaryrefslogtreecommitdiff
path: root/src/libsystemd-network
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-06-19 19:32:29 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-20 00:27:38 +0200
commit03de7ed905ea95814b6a5008225d6fb708871e1f (patch)
treeae390cfe1ca4515b6f36af6a1d9ace229671f7e8 /src/libsystemd-network
parent513a6fa8679510ea1b55967bdb482dd5f8a39f21 (diff)
sd-icmp6-nd: fix uninitialized fd
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r--src/libsystemd-network/sd-icmp6-nd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/sd-icmp6-nd.c b/src/libsystemd-network/sd-icmp6-nd.c
index f820a9c8f0..10c5e5e87e 100644
--- a/src/libsystemd-network/sd-icmp6-nd.c
+++ b/src/libsystemd-network/sd-icmp6-nd.c
@@ -171,6 +171,7 @@ int sd_icmp6_nd_new(sd_icmp6_nd **ret) {
nd->n_ref = REFCNT_INIT;
nd->index = -1;
+ nd->fd = -1;
*ret = nd;
nd = NULL;