From afaf4a4b22c1eb6452b12b0a969fd653ca83add8 Mon Sep 17 00:00:00 2001 From: lemoer Date: Thu, 1 Dec 2016 11:06:09 +0100 Subject: [PATCH] respondd: initialize ifindex in accept_request() --- net/respondd/src/respondd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/respondd/src/respondd.c b/net/respondd/src/respondd.c index f2dd8dc..71353f6 100644 --- a/net/respondd/src/respondd.c +++ b/net/respondd/src/respondd.c @@ -460,7 +460,7 @@ static void accept_request(struct request_schedule *schedule, int sock, char control[256]; struct in6_addr destaddr = {}; struct cmsghdr *cmsg; - unsigned int ifindex; + unsigned int ifindex = 0; int recv_errno; int64_t timeout = schedule_idle_time(schedule);