1
0

load_ieee80211_nodereq: Fix typo

This commit is contained in:
Aaron Marcher 2018-05-16 23:08:33 +02:00
parent f3c23f08bb
commit 9d967498be

View File

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