Skip to content

Commit

Permalink
mod_os10: clear poll data structure every time
Browse files Browse the repository at this point in the history
  • Loading branch information
sflow committed May 11, 2017
1 parent 7334fdd commit c25a347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Linux/mod_os10.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,10 @@ extern "C" {
// check that we already have the right MAC and ifIndex
checkByMac(mod, adaptor, &mdata->poll.mac);
checkByIndex(mod, adaptor, mdata->poll.ifIndex);
// clear poll structure for next interface phase
memset(&mdata->poll, 0, sizeof(mdata->poll));
}
}
// clear poll structure for next interface phase
memset(&mdata->poll, 0, sizeof(mdata->poll));
}
}

Expand Down

0 comments on commit c25a347

Please sign in to comment.