From 9450a6e061533afc1728c37b826cb35efbd6edb8 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Tue, 9 Jul 2013 16:59:56 -0700 Subject: [PATCH] datpath: Fix tunnel TTL flow rejection message. 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 Signed-off-by: Jesse Gross --- datapath/flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath/flow.c b/datapath/flow.c index a70b97466..be69186db 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; } -- 2.43.0