datpath: Fix tunnel TTL flow rejection message.
authorJesse Gross <jesse@nicira.com>
Tue, 9 Jul 2013 23:59:56 +0000 (16:59 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 10 Jul 2013 01:52:54 +0000 (18:52 -0700)
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@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c

index b9742a4..ebc5c82 100644 (file)
@@ -1258,7 +1258,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;
        }