Skip to content

Commit

Permalink
ovn-sb: Fix "ip.ttl--" lower limit description.
Browse files Browse the repository at this point in the history
To decrement the IP TTL, the existing TTL can't be less than two.  The
field is not bit-maskable, though, so "ip.ttl < 2" will not work.

Signed-off-by: Justin Pettit <[email protected]>
Acked-by: Russell Bryant <[email protected]>
  • Loading branch information
Justin Pettit authored and justinpettit committed Nov 9, 2015
1 parent e4a1264 commit 4c20b9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ovn/ovn-sb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,8 @@
Decrements the IPv4 or IPv6 TTL. If this would make the TTL zero
or negative, then processing of the packet halts; no further
actions are processed. (To properly handle such cases, a
higher-priority flow should match on <code>ip.ttl &lt; 2</code>.)
higher-priority flow should match on
<code>ip.ttl == {0, 1};</code>.)
</p>

<p><b>Prerequisite:</b> <code>ip</code></p>
Expand Down

0 comments on commit 4c20b9f

Please sign in to comment.