1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-26 20:01:35 +01:00

Remove useless includes

This commit is contained in:
Matias Fontanini
2017-04-30 17:34:02 -07:00
parent a9747a349a
commit 19ae1f366b
21 changed files with 43 additions and 58 deletions

View File

@@ -32,7 +32,6 @@
#include <algorithm>
#include "endianness.h"
#include "dhcp.h"
#include "ethernetII.h"
#include "exceptions.h"
#include "memory_helpers.h"
@@ -58,8 +57,8 @@ PDU::metadata DHCP::extract_metadata(const uint8_t* /*buffer*/, uint32_t total_s
DHCP::DHCP()
: size_(sizeof(uint32_t)) {
opcode(BOOTREQUEST);
htype(1); //ethernet
hlen(EthernetII::address_type::address_size);
htype(1); // ethernet
hlen(6); // MAC address length
}
DHCP::DHCP(const uint8_t* buffer, uint32_t total_sz)