Committed by
Pavlin Radoslavov
Bugfix: Criteria.toString() does not convert unsigned variables properly.
For example, in the response of 'flows' command, the ethType of IPv6 (0x86dd) is shown as ff..ff86dd instead of 86dd Note: VlanId/VlanPcp still remains in signed format in this commit since: * VLAN tag is actually 12 bits. There should be no problem even if it is printed as signed short. * VLAN PCP is actually 3 bits. There should be no problem even if it is printed as signed short. * -1 is used in many places to indicate untagged vlan [Merged from master] Change-Id: Ib68161d552a0011e6a6666970907cf9ca846f620 (cherry picked from commit 36eb6e11)
Showing
1 changed file
with
8 additions
and
6 deletions
-
Please register or login to post a comment