mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-04 12:01:02 +02:00
of_v1_0: Fixed the flow format logic to set it correctly when registers matches are set
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
25c76192d5
commit
5b1a2651bb
@ -308,6 +308,9 @@ class ClsRule(object):
|
||||
if not self.wc.wildcards & FWW_NW_ECN:
|
||||
return ofproto_v1_0.NXFF_NXM
|
||||
|
||||
if self.wc.regs_bits > 0:
|
||||
return ofproto_v1_0.NXFF_NXM
|
||||
|
||||
return ofproto_v1_0.NXFF_OPENFLOW10
|
||||
|
||||
def match_tuple(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user