Skip to content

Commit

Permalink
ofctl_v1_0: match_to_str() does not convert nw_tos correctly
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
charlesmcchan authored and fujita committed Oct 26, 2014
1 parent bac1f30 commit f0ab847
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ryu/lib/ofctl_v1_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f0ab847

Please sign in to comment.