Handled some more EtherType edge cases in ULE.

This commit is contained in:
feyris-tan 2025-08-07 20:20:53 +02:00
parent 5eff90d0de
commit 0049af0476

View File

@ -2774,6 +2774,15 @@ namespace skyscraper5.Skyscraper.Scraper
OnEthernetFrame(pid, destination, source, newEtherType, newPacket);
}
return;
case 0x94ad:
//Something proprietary. No idea.
return;
case 0x4957:
//Something proprietary. No idea.
return;
case 0x3e30:
//Something proprietary. No idea.
return;
default:
throw new NotImplementedException(String.Format("EtherType: 0x{0:X4}", etherType));
}
@ -2846,10 +2855,15 @@ namespace skyscraper5.Skyscraper.Scraper
//TEST or XID PDU, likely unneeded.
return;
}
else
else if (llcLength == 40)
{
throw new NotImplementedException("LLC/SNAP (2)");
//TEST or XID PDU, likely unneeded.
return;
}
else
{
throw new NotImplementedException("LLC/SNAP (2)");
}
}
throw new NotImplementedException("LLC/SNAP");
}