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

Commit 22a3313

Browse files
authored
Merge pull request #493 from macartur/issue-#492
Rename multiparty to multipart
2 parents ce96f79 + c37364f commit 22a3313

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyof/v0x04/controller2switch/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def __init__(self, xid=None, flags=ConfigFlags.OFPC_FRAG_NORMAL,
356356
self.miss_send_len = miss_send_len
357357

358358

359-
# Multiparty body
359+
# Multipart body
360360

361361
class ExperimenterMultipartHeader(GenericStruct):
362362
"""Body for ofp_multipart_request/reply of type OFPMP_EXPERIMENTER."""

pyof/v0x04/controller2switch/multipart_reply.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ def pack(self, value=None):
107107

108108
self.body = obj.pack()
109109

110-
multiparty_packed = super().pack()
110+
multipart_packed = super().pack()
111111
self.body = buff
112112

113-
return multiparty_packed
113+
return multipart_packed
114114

115115
def unpack(self, buff, offset=0):
116116
"""Unpack a binary message into this object's attributes.

pyof/v0x04/controller2switch/multipart_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ def pack(self, value=None):
9595

9696
self.body = obj.pack()
9797

98-
multiparty_packed = super().pack()
98+
multipart_packed = super().pack()
9999
self.body = buff
100100

101-
return multiparty_packed
101+
return multipart_packed
102102

103103
def unpack(self, buff, offset=0):
104104
"""Unpack a binary message into this object's attributes.

0 commit comments

Comments
 (0)