import io.netty.buffer.ByteBuf;\r
\r
import org.opendaylight.openflowjava.protocol.impl.util.ActionConstants;\r
-import org.opendaylight.openflowjava.util.ByteBufUtils;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.PortAction;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action;\r
\r
super.serialize(action, outBuffer);\r
PortAction port = action.getAugmentation(PortAction.class);\r
outBuffer.writeShort(port.getPort().getValue().intValue());\r
- ByteBufUtils.padBuffer(ActionConstants.PADDING_IN_TP_PORT_ACTION, outBuffer);\r
+ outBuffer.writeZero(ActionConstants.PADDING_IN_TP_PORT_ACTION);\r
}\r
}\r