Handled some more EtherType edge cases in ULE.
This commit is contained in:
parent
5eff90d0de
commit
0049af0476
@ -2774,6 +2774,15 @@ namespace skyscraper5.Skyscraper.Scraper
|
|||||||
OnEthernetFrame(pid, destination, source, newEtherType, newPacket);
|
OnEthernetFrame(pid, destination, source, newEtherType, newPacket);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
case 0x94ad:
|
||||||
|
//Something proprietary. No idea.
|
||||||
|
return;
|
||||||
|
case 0x4957:
|
||||||
|
//Something proprietary. No idea.
|
||||||
|
return;
|
||||||
|
case 0x3e30:
|
||||||
|
//Something proprietary. No idea.
|
||||||
|
return;
|
||||||
default:
|
default:
|
||||||
throw new NotImplementedException(String.Format("EtherType: 0x{0:X4}", etherType));
|
throw new NotImplementedException(String.Format("EtherType: 0x{0:X4}", etherType));
|
||||||
}
|
}
|
||||||
@ -2846,10 +2855,15 @@ namespace skyscraper5.Skyscraper.Scraper
|
|||||||
//TEST or XID PDU, likely unneeded.
|
//TEST or XID PDU, likely unneeded.
|
||||||
return;
|
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");
|
throw new NotImplementedException("LLC/SNAP");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user