Skip to content
Snippets Groups Projects
Commit bdddcb48 authored by Geddings Barrineau's avatar Geddings Barrineau Committed by GitHub
Browse files

IP_TOS Match bug fix (#725)

* Fixed IP_TOS match problem.

In MatchUtils.java where the IP_TOS match string is converted into ECN and DSCP fields, incorrect values were passed into each fields constructor. To fix the problem, the ECN and DSCP bits had to be isolated and then passed into each constructor.

* Fixed a bug that had to do with the order of bitwise operations when dealing with IP_TOS matches. By adding parenthesis, we ensure that the 'and' is done before the 'shift'.
parent 31ca7495
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment