load_ieee80211_nodereq: Fix typo

This commit is contained in:
Aaron Marcher 2018-05-16 23:08:33 +02:00
parent f3c23f08bb
commit 9d967498be
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@
{
struct ieee80211_bssid bssid;
int sockfd;
memset(&bssid, 0, sizeof(bssid);
memset(&bssid, 0, sizeof(bssid));
memset(nr, 0, sizeof(struct ieee80211_nodereq));
if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) {
fprintf(stderr, "socket 'AF_INET': %s\n",