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

martinbj2008 at gmail.com martinbj2008 at gmail.com
Mon Oct 7 04:34:55 UTC 2019


From: Martin Zhang <martinbj2008 at gmail.com>

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

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;
-- 
1.8.3.1



More information about the dev mailing list