Reading and parsing through packets; handling unwanted packets; ready to create a...
[pingpong.git] / Code / Projects / SmartPlugDetector / src / main / java / edu / uci / iotproject / Ipv6Packet.java
index 469ed8b4d35a533ed6c47690d1e65f1ac801e244..c71c7b2e8d326ce5725d27995e225d831b9a3022 100644 (file)
@@ -107,7 +107,6 @@ public class Ipv6Packet extends KaitaiStruct {
         private void _read() {
             this.nextHeaderType = this._io.readU1();
             this.hdrExtLen = this._io.readU1();
-            this.body = this._io.readBytes((hdrExtLen() - 1));
             switch (nextHeaderType()) {
             case 0: {
                 this.nextHeader = new OptionHopByHop(this._io, this, _root);