Skip to content
Snippets Groups Projects
Commit d3555b81 authored by Alex Reimers's avatar Alex Reimers
Browse files

Fix an issue in the REST API where setting datalayer MAC addresses in...

Fix an issue in the REST API where setting datalayer MAC addresses in OFActions was not getting displayed properly.
parent 25ec1552
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,9 @@ package org.openflow.protocol.action;
import java.util.Arrays;
import net.floodlightcontroller.core.web.serializers.ByteArrayMACSerializer;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.jboss.netty.buffer.ChannelBuffer;
import org.openflow.protocol.OFPhysicalPort;
......@@ -37,6 +40,7 @@ public abstract class OFActionDataLayer extends OFAction {
/**
* @return the dataLayerAddress
*/
@JsonSerialize(using=ByteArrayMACSerializer.class)
public byte[] getDataLayerAddress() {
return dataLayerAddress;
}
......
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