[ovs-dev] [PATCH 04/10] ovn-sb: Fix "ip.ttl--" lower limit description.

Justin Pettit jpettit at nicira.com
Wed Oct 21 07:24:25 UTC 2015


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 <jpettit at nicira.com>
---
 ovn/ovn-sb.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ovn/ovn-sb.xml b/ovn/ovn-sb.xml
index 9c2d411..e674f3a 100644
--- a/ovn/ovn-sb.xml
+++ b/ovn/ovn-sb.xml
@@ -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>
-- 
1.7.5.4




More information about the dev mailing list