summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-06-19 15:09:22 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-06-20 06:19:21 +0900
commit7b72677e42ccb79b360452c3041e349404511da9 (patch)
treef4b254e44bbf713612a32f0e84ae92c42eb66158
parenta3c06c6f22eab944b97db2ce954b42aa12b30322 (diff)
of13 OFPBucket: fix a fatal typo
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py
index c6938418..99161098 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -1882,7 +1882,7 @@ class OFPBucket(object):
@classmethod
def parser(cls, buf, offset):
- (len_, weigth, watch_port, watch_group) = struct.unpack_from(
+ (len_, weight, watch_port, watch_group) = struct.unpack_from(
ofproto_v1_3.OFP_BUCKET_PACK_STR, buf, offset)
msg = cls(len_, weight, watch_port, watch_group, [])