summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-11-22 16:33:12 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-11-23 11:37:47 +0900
commit2b7d08f2efb6ae9a7f8c21b3ec6678a2ce3ddfdc (patch)
tree2121a6a8e79fec76d9465834fc74c8ed55407299
parent0f348cdbf451874bebd9d138d752791d188a499f (diff)
of1.3: fix OFP_METER_BAND_DSCP_REMARK_PACK_STR assert
File "/Users/fujita/git/ryu/ryu/ofproto/ofproto_v1_3.py", line 480, in <module> OFP_METER_BAND_DSCP_REMARK_SIZE) AssertionError Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py
index 79d41c17..6ab4049a 100644
--- a/ryu/ofproto/ofproto_v1_3.py
+++ b/ryu/ofproto/ofproto_v1_3.py
@@ -474,7 +474,7 @@ assert (calcsize(OFP_METER_BAND_DROP_PACK_STR) ==
OFP_METER_BAND_DROP_SIZE)
# struct ofp_meter_band_dscp_remark
-OFP_METER_BAND_DSCP_REMARK_PACK_STR = '!HHIIH3x'
+OFP_METER_BAND_DSCP_REMARK_PACK_STR = '!HHIIB3x'
OFP_METER_BAND_DSCP_REMARK_SIZE = 16
assert (calcsize(OFP_METER_BAND_DSCP_REMARK_PACK_STR) ==
OFP_METER_BAND_DSCP_REMARK_SIZE)