diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-06-20 07:12:41 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-06-20 11:08:46 +0900 |
commit | a3469e399c38bd298ef6a14b25a81e2384c04bd7 (patch) | |
tree | 7cbc4697176da93c258773e4c97a6e44f6d242cc | |
parent | b97c80cdf0cd3cee3c4f5421c4018064b7f64711 (diff) |
nxm: fix nxm_put()
Fix the regression of commit 3b3bcaa7591e3f11f328d82bee3800f407f14e3d.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/nx_match.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/ofproto/nx_match.py b/ryu/ofproto/nx_match.py index eddc4acf..3100eba9 100644 --- a/ryu/ofproto/nx_match.py +++ b/ryu/ofproto/nx_match.py @@ -614,7 +614,7 @@ def nxm_put(buf, offset, header, rule): nxm = NXMatch(header) len_ = nxm.put_header(buf, offset) mf = mf_from_nxm_header(nxm.header) - return len_ + mf.put(buf, offset + len, rule) + return len_ + mf.put(buf, offset + len_, rule) def round_up(length): |