summaryrefslogtreecommitdiff
path: root/Documentation/tutorials
diff options
context:
space:
mode:
authoraxel@tripier.fr <axel@tripier.fr>2018-04-27 17:11:24 +0200
committerBen Pfaff <blp@ovn.org>2018-05-09 14:32:55 -0700
commit35b2520a9c5ed3e2593423f01486b8fd86a64235 (patch)
tree2cc7ab4439bc6b716a5d553500dcd6212c5ea114 /Documentation/tutorials
parent58db70c7e4d991aa3927a8d59162a7840ffecb74 (diff)
downloadopenvswitch-35b2520a9c5ed3e2593423f01486b8fd86a64235.tar.gz
Doc: Fix binary representation in Faucet tutorial
The binary representation of 80 and 8080 are switched in the Faucet tutorial. Signed-off-by: Axel Tripier <axel@tripier.fr> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation/tutorials')
-rw-r--r--Documentation/tutorials/faucet.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/tutorials/faucet.rst b/Documentation/tutorials/faucet.rst
index 9abfa6ebd..aaaffe769 100644
--- a/Documentation/tutorials/faucet.rst
+++ b/Documentation/tutorials/faucet.rst
@@ -1383,8 +1383,8 @@ Take a look at the Megaflow line and in particular the match on
the megaflow matches on only the top 4 bits of the TCP destination
port. That works because::
- 80 (base 10) == 0001,1111,1001,0000 (base 2)
- 8080 (base 10) == 0000,0000,0101,0000 (base 2)
+ 80 (base 10) == 0000,0000,0101,0000 (base 2)
+ 8080 (base 10) == 0001,1111,1001,0000 (base 2)
and so by matching on only the top 4 bits, rather than all 16, the OVS
fast path can distinguish port 80 from port 8080. This allows this