diff mbox series

[ovs-dev,v1] ofproto: fix a typo for ttl in dpif_sflow_actions

Message ID 1570422895-25886-1-git-send-email-martinbj2008@gmail.com
State Accepted
Commit 7d6a859e15d4ba54650e0d50063d909541493fd7
Headers show
Series [ovs-dev,v1] ofproto: fix a typo for ttl in dpif_sflow_actions | expand

Commit Message

Martin Zhang Oct. 7, 2019, 4:34 a.m. UTC
From: Martin Zhang <martinbj2008@gmail.com>

Signed-off-by: Martin Zhang <martinbj2008@gmail.com>
---
 ofproto/ofproto-dpif-sflow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff Oct. 7, 2019, 6:02 p.m. UTC | #1
On Mon, Oct 07, 2019 at 12:34:55AM -0400, martinbj2008@gmail.com wrote:
> From: Martin Zhang <martinbj2008@gmail.com>
> 
> Signed-off-by: Martin Zhang <martinbj2008@gmail.com>

Thanks.  I applied this to master and backported it as far as
branch-2.5.
diff mbox series

Patch

diff --git a/ofproto/ofproto-dpif-sflow.c b/ofproto/ofproto-dpif-sflow.c
index 03bd763..9abaab6 100644
--- a/ofproto/ofproto-dpif-sflow.c
+++ b/ofproto/ofproto-dpif-sflow.c
@@ -1026,7 +1026,7 @@  sflow_read_set_action(const struct nlattr *attr,
                 sflow_actions->tunnel.ip_tos = key->ipv4_tos;
             }
             if (key->ipv4_ttl) {
-                sflow_actions->tunnel.ip_tos = key->ipv4_ttl;
+                sflow_actions->tunnel.ip_ttl = key->ipv4_ttl;
             }
         }
         break;