mirror of
https://github.com/mfontanini/libtins
synced 2026-01-24 19:21:35 +01:00
libtins now compiles on windows. A couple of features were disabled and need to be fixed though.
This commit is contained in:
@@ -96,7 +96,7 @@ uint32_t Tins::SNAP::header_size() const {
|
||||
void Tins::SNAP::write_serialization(uint8_t *buffer, uint32_t total_sz, const PDU *parent) {
|
||||
assert(total_sz >= sizeof(_snap));
|
||||
if (!_snap.eth_type && inner_pdu()) {
|
||||
uint16_t type = ETHERTYPE_IP;
|
||||
uint16_t type = Tins::Constants::Ethernet::IP;
|
||||
switch (inner_pdu()->pdu_type()) {
|
||||
case PDU::IP:
|
||||
type = Tins::Constants::Ethernet::IP;
|
||||
|
||||
Reference in New Issue
Block a user