mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
ofctl_v1_0: match_to_str() does not convert nw_tos correctly
The match_to_str() function in ryu/lib/ofctl_v1_0.py does not convert nw_tos correctly. As a result, we cannot obtain nw_tos value of any flow entry by invoking get_flow_stats() Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
bac1f3038d
commit
f0ab847f64
@ -167,6 +167,7 @@ def match_to_str(m):
|
||||
'in_port': m.in_port,
|
||||
'nw_dst': nw_dst_to_str(m.wildcards, m.nw_dst),
|
||||
'nw_proto': m.nw_proto,
|
||||
'nw_tos': m.nw_tos,
|
||||
'nw_src': nw_src_to_str(m.wildcards, m.nw_src),
|
||||
'tp_src': m.tp_src,
|
||||
'tp_dst': m.tp_dst}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user