]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pipeline/rte_swx_ctl.c
examples/packet_ordering: enhance getopt_long usage
[dpdk.git] / lib / librte_pipeline / rte_swx_ctl.c
index 9d986a83eef0b679bdaddd23ec617397ff8f3298..ee6df4544f5815475888c58e0e21da3e34b6a201 100644 (file)
@@ -371,7 +371,7 @@ table_entry_duplicate(struct rte_swx_ctl_pipeline *ctl,
                }
        }
 
-       return entry;
+       return new_entry;
 
 error:
        table_entry_free(new_entry);