mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-21 22:47:58 +00:00
Set addr3 to addr1 for data/mgmt frame in inject_80211.c
This commit is contained in:
parent
1265742e17
commit
a7af994b09
@ -270,6 +270,7 @@ int main(int argc, char *argv[])
|
||||
ieee_hdr_data[0] = ( ieee_hdr_data[0]|(sub_type<<4) );
|
||||
ieee_hdr_data[9] = addr1;
|
||||
ieee_hdr_data[15] = addr2;
|
||||
ieee_hdr_data[21] = addr1;
|
||||
ieee_hdr_len = sizeof(ieee_hdr_data);
|
||||
ieee_hdr = ieee_hdr_data;
|
||||
}
|
||||
@ -278,6 +279,7 @@ int main(int argc, char *argv[])
|
||||
ieee_hdr_mgmt[0] = ( ieee_hdr_mgmt[0]|(sub_type<<4) );
|
||||
ieee_hdr_mgmt[9] = addr1;
|
||||
ieee_hdr_mgmt[15] = addr2;
|
||||
ieee_hdr_mgmt[21] = addr1;
|
||||
ieee_hdr_len = sizeof(ieee_hdr_mgmt);
|
||||
ieee_hdr = ieee_hdr_mgmt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user