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

Commit 68751fc

Browse files
authored
Merge pull request #393 from erickvermot/switch_dpid_fix
Switch dpid fix
2 parents 32e70c8 + 3d43c75 commit 68751fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyof/v0x04/controller2switch/features_reply.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Local source tree imports
88
from pyof.foundation.base import GenericBitMask, GenericMessage
9-
from pyof.foundation.basic_types import Pad, UBInt8, UBInt32, UBInt64
9+
from pyof.foundation.basic_types import DPID, Pad, UBInt8, UBInt32
1010
from pyof.v0x04.common.header import Header, Type
1111

1212
__all__ = ('FeaturesReply', 'Capabilities', 'SwitchFeatures')
@@ -42,7 +42,7 @@ class SwitchFeatures(GenericMessage):
4242
"""
4343

4444
header = Header(message_type=Type.OFPT_FEATURES_REPLY)
45-
datapath_id = UBInt64()
45+
datapath_id = DPID()
4646

4747
n_buffers = UBInt32()
4848

0 commit comments

Comments
 (0)