-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
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
| binary.BigEndian.PutUint32(bytes[n:], f.OutPort) | |
| n += 4 | |
| binary.BigEndian.PutUint32(bytes[n:], f.OutPort) | |
| n += 4 |
Perhaps you wanted to write something like:
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 to be completely sure.
ofm->out_port = ofputil_port_to_ofp11(fm->out_port);
ofm->out_group = htonl(fm->out_group);Metadata
Metadata
Assignees
Labels
No labels