Skip to content
Snippets Groups Projects
Commit 5d527de8 authored by abat's avatar abat
Browse files

Merge into master from pull request #311:

parents 3268f860 70581d8c
No related branches found
No related tags found
No related merge requests found
......@@ -371,7 +371,7 @@ public class OFMatch implements Cloneable, Serializable {
* @return : 6-bit DSCP value (0-63)
*/
public byte getNetworkTypeOfService() {
return (byte) (this.networkTypeOfService >> 2);
return (byte) ((this.networkTypeOfService >> 2) & 0x3f);
}
/**
......
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