We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32149dc commit e5cb5d5Copy full SHA for e5cb5d5
src/test/java/com/igormaznitsa/jbbp/it/NetPacketParsingTest.java
@@ -91,7 +91,7 @@ public void testParsingTCPFrameInsideNetworkFrame() throws Exception {
91
final int etherTypeOrLength = parsedEthernetHeader.findFieldForNameAndType("EtherTypeOrLength", JBBPFieldUShort.class).getAsInt();
92
assertEquals("Ethernet type or length", 0x800, etherTypeOrLength);
93
94
- if (etherTypeOrLength>=1536) {
+ if (etherTypeOrLength>1500) {
95
// list of protocols http://standards-oui.ieee.org/ethertype/eth.txt
96
System.out.println("Ethernet type is : 0x"+Integer.toHexString(etherTypeOrLength).toUpperCase());
97
} else {
0 commit comments