Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 4d8ba33

Browse files
authored
Merge pull request #365 from renanrodrigo/fix_packetout_unpack
Remove port enum_ref for packet out messages
2 parents c5a6e7e + efb8e76 commit 4d8ba33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyof/v0x01/controller2switch/packet_out.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class PacketOut(GenericMessage):
2222

2323
header = Header(message_type=Type.OFPT_PACKET_OUT)
2424
buffer_id = UBInt32()
25-
in_port = UBInt16(enum_ref=Port)
25+
in_port = UBInt16()
2626
actions_len = UBInt16()
2727
actions = ListOfActions()
2828
data = BinaryData()

0 commit comments

Comments
 (0)