From: Justin Pettit
Date: Wed, 21 Oct 2015 05:11:10 +0000 (-0700)
Subject: ovn-sb: Fix "ip.ttl--" lower limit description.
X-Git-Tag: v2.5.0~344
X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=4c20b9f2a79634afd5705377f5865f5ddad1526a
ovn-sb: Fix "ip.ttl--" lower limit description.
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
Acked-by: Russell Bryant
---
diff --git a/ovn/ovn-sb.xml b/ovn/ovn-sb.xml
index 9c2d41154..e674f3a96 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 ip.ttl < 2
.)
+ higher-priority flow should match on
+ ip.ttl == {0, 1};
.)
Prerequisite: ip