From e9bb60be43af477f17b30ee1f2ba205565b7fa15 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Mon, 19 Oct 2015 10:14:31 -0700 Subject: Updated onos src tree to commit id 1e60f97ae50c05b94fcb6a10520738bfb5efdfd1 --- framework/src/onos/utils/misc/src/main/java/org/onlab/packet/IGMP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/src/onos/utils/misc') diff --git a/framework/src/onos/utils/misc/src/main/java/org/onlab/packet/IGMP.java b/framework/src/onos/utils/misc/src/main/java/org/onlab/packet/IGMP.java index e7abbd6a..254f1325 100644 --- a/framework/src/onos/utils/misc/src/main/java/org/onlab/packet/IGMP.java +++ b/framework/src/onos/utils/misc/src/main/java/org/onlab/packet/IGMP.java @@ -231,7 +231,7 @@ public class IGMP extends BasePacket { IGMP igmp = new IGMP(); - ByteBuffer bb = ByteBuffer.wrap(data); + final ByteBuffer bb = ByteBuffer.wrap(data, offset, length); igmp.igmpType = bb.get(); igmp.resField = bb.get(); igmp.checksum = bb.getShort(); -- cgit 1.2.3-korg