1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Don't skip inner PDU parsing on LLC when building on Windows

Relates to issue #236
This commit is contained in:
Matias Fontanini
2017-08-13 10:30:23 -07:00
parent 5df1c354f0
commit 19fd9a7c1d

View File

@@ -64,7 +64,7 @@ Loopback::Loopback()
Loopback::Loopback(const uint8_t* buffer, uint32_t total_sz) {
InputMemoryStream stream(buffer, total_sz);
family_ = stream.read<uint32_t>();
#ifndef _WIN32
if (total_sz) {
switch (family_) {
case PF_INET:
@@ -78,7 +78,6 @@ Loopback::Loopback(const uint8_t* buffer, uint32_t total_sz) {
break;
};
}
#endif // _WIN32
}
void Loopback::family(uint32_t family_id) {