respondd: initialize ifindex in accept_request()

This commit is contained in:
lemoer 2016-12-01 11:06:09 +01:00
parent b0e80bfde7
commit afaf4a4b22
1 changed files with 1 additions and 1 deletions

View File

@ -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);