Skip to content
Snippets Groups Projects
Commit 256a5723 authored by Saurav Das's avatar Saurav Das
Browse files

OFPacketOut message prints packetData as hexstring

parent 96b67018
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ import org.jboss.netty.buffer.ChannelBuffer;
import org.openflow.protocol.action.OFAction;
import org.openflow.protocol.factory.OFActionFactory;
import org.openflow.protocol.factory.OFActionFactoryAware;
import org.openflow.util.HexString;
import org.openflow.util.U16;
/**
......@@ -235,6 +236,6 @@ public class OFPacketOut extends OFMessage implements OFActionFactoryAware {
return "OFPacketOut [actionFactory=" + actionFactory + ", actions="
+ actions + ", actionsLength=" + actionsLength + ", bufferId=0x"
+ Integer.toHexString(bufferId) + ", inPort=" + inPort + ", packetData="
+ Arrays.toString(packetData) + "]";
+ HexString.toHexString(packetData) + "]";
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment