1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-29 21:14:28 +01:00

Renamed IEEE802_11 and all subclasses to Dot11

This commit is contained in:
Matias Fontanini
2011-09-04 10:19:58 -03:00
parent 3178c217b3
commit 477a757f5a
6 changed files with 238 additions and 238 deletions

View File

@@ -23,7 +23,7 @@
#include <cassert>
#include <stdexcept>
#include "eapol.h"
#include "ieee802-11.h"
#include "dot11.h"
Tins::EAPOL::EAPOL(uint8_t packet_type, EAPOLTYPE type) : PDU(0xff) {
@@ -287,7 +287,7 @@ void Tins::RSNEAPOL::write_body(uint8_t *buffer, uint32_t total_sz) {
buffer += sizeof(_header);
if(_key) {
if(_header.key_type && _key_size) {
*(buffer++) = IEEE802_11::RSN;
*(buffer++) = Dot11::RSN;
*(buffer++) = _key_size;
}
std::memcpy(buffer, _key, _key_size);