X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Fvendorextension%2Fv6extension%2FV6StatsReply.java;h=3ae19838a2136b2be46fc18df026119fa03eb8a4;hb=4c1e9ed9fa2386ca63a0bbf11da620c83a6d7d5e;hp=6893fa78e279979bb3149038a3f87b3bc4234a49;hpb=e2f7aaa41e482815ca1d4495eb85c8653cd903ab;p=controller.git diff --git a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6StatsReply.java b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6StatsReply.java index 6893fa78e2..3ae19838a2 100644 --- a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6StatsReply.java +++ b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6StatsReply.java @@ -19,9 +19,9 @@ import org.openflow.util.U16; /** * This Class processes the OpenFlow Vendor Extension Reply message of a Stats * Request. It parses the reply message and initializes fields of V6StatsReply - * object. Multiple instances of this class objects are created and used by + * object. Multiple instances of this class objects are created and used by * OpenDaylight's Troubleshooting Application. - * + * */ public class V6StatsReply extends OFVendorStatistics { @@ -296,19 +296,14 @@ public class V6StatsReply extends OFVendorStatistics { * action list may be preceded by a padding of 0 to 7 bytes based upon this: */ short pad_size = (short) (((match_len + 7) / 8) * 8 - match_len); - for (i = 0; i < pad_size; i++) + for (i = 0; i < pad_size; i++) { data.get(); + } int action_len = this.length - MINIMUM_LENGTH - (match_len + pad_size); if (action_len > 0) this.actions = this.actionFactory.parseActions(data, action_len); } - @Override - public void writeTo(ByteBuffer data) { - super.writeTo(data);//TBD. This Fn needs work. Should never get called though. - - } - @Override public int hashCode() { final int prime = 31;