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

@ -2773,6 +2773,15 @@ namespace skyscraper5.Skyscraper.Scraper
Array.Copy(contents, 28, newPacket, 0, newPacket.Length);
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,6 +2855,11 @@ namespace skyscraper5.Skyscraper.Scraper
//TEST or XID PDU, likely unneeded.
return;
}
else if (llcLength == 40)
{
//TEST or XID PDU, likely unneeded.
return;
}
else
{
throw new NotImplementedException("LLC/SNAP (2)");