[ovs-dev] [PATCH] datpath: Fix tunnel TTL flow rejection message.
Jesse Gross
jesse at nicira.com
Wed Jul 10 00:02:47 UTC 2013
There is no default value for the tunnel TTL, so it must be
specified when setting up a new flow. However, the flow rejection
log message indicates that the TTL must be non-zero, which is not
true.
CC: Andy Zhou <azhou at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
---
datapath/flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datapath/flow.c b/datapath/flow.c
index 45b85ab..eb99bab 100644
--- a/datapath/flow.c
+++ b/datapath/flow.c
@@ -1260,7 +1260,7 @@ int ipv4_tun_from_nlattr(const struct nlattr *attr,
}
if (!ttl) {
- OVS_NLERR("IPv4 tunnel TTL is zero.\n");
+ OVS_NLERR("IPv4 tunnel TTL not specified.\n");
return -EINVAL;
}
--
1.8.1.2
More information about the dev
mailing list