]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_lpm6.c
lpm: fix allocation of an existing object
[dpdk.git] / app / test / test_lpm6.c
index 1f88d7ad46994b4d16b504867166bf27e8046191..b464342c2690327e7e45764f1c8237b0ec43cbfd 100644 (file)
@@ -222,7 +222,7 @@ test1(void)
 
        /* rte_lpm6_create: lpm name == LPM2 */
        lpm3 = rte_lpm6_create("LPM1", SOCKET_ID_ANY, &config);
-       TEST_LPM_ASSERT(lpm3 == lpm1);
+       TEST_LPM_ASSERT(lpm3 == NULL);
 
        rte_lpm6_free(lpm1);
        rte_lpm6_free(lpm2);