My apologies, however, are you sure that this code should look exactly like it does? https://github.com/contiv/libOpenflow/blob/d967b14cc6889aa008ad564b5617abc272c9be15/openflow13/flowmod.go#L99-L102 Perhaps you wanted to write something like: ```go binary.BigEndian.PutUint32(bytes[n:], f.OutPort) n += 4 binary.BigEndian.PutUint32(bytes[n:], f.OutGroup) n += 4 ``` Just check the [source code of OpenvSwitch]( https://github.com/openvswitch/ovs/blob/4056ae4875541197eab1b346ab84f23077ff9dea/lib/ofp-flow.c#L416-L417) to be completely sure. ```c ofm->out_port = ofputil_port_to_ofp11(fm->out_port); ofm->out_group = htonl(fm->out_group); ```
My apologies, however, are you sure that this code should look exactly like it does?
libOpenflow/openflow13/flowmod.go
Lines 99 to 102 in d967b14
Perhaps you wanted to write something like:
Just check the source code of OpenvSwitch to be completely sure.