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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user