Skip to content

Commit

Permalink
datpath: Fix tunnel TTL flow rejection message.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jesse Gross <[email protected]>
  • Loading branch information
jessegross committed Jul 10, 2013
1 parent aa20ff9 commit 9450a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datapath/flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9450a6e

Please sign in to comment.