From: Jesse Gross Date: Tue, 9 Jul 2013 23:59:56 +0000 (-0700) Subject: datpath: Fix tunnel TTL flow rejection message. X-Git-Tag: v2.0~448 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=9450a6e061533afc1728c37b826cb35efbd6edb8;p=cascardo%2Fovs.git 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 --- 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; }