[dpdk-dev] [RFC PATCH 2/4] test: make all lpm routes be of unsigned type

Bruce Richardson bruce.richardson at intel.com
Fri May 6 14:51:30 CEST 2016


The one route that was different to the others in the test_lpm_routes.h
file was the entry "{0, 8}" which was the only route without a "U" after
the IP part. Add in the extra "U" to that entry so that it can be used
as a check character when parsing routes manually.

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 app/test/test_lpm_routes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_lpm_routes.h b/app/test/test_lpm_routes.h
index 023b0f9..1decfee 100644
--- a/app/test/test_lpm_routes.h
+++ b/app/test/test_lpm_routes.h
@@ -281825,7 +281825,7 @@ static const struct route_rule large_route_table[] =
 	{3536977920U, 17},
 	{3392992768U, 23},
 	{3341675008U, 23},
-	{0, 8},
+	{0U, 8},
 	{3326316168U, 30},
 	{3326316108U, 30},
 	{3326316060U, 30},
-- 
2.5.5



More information about the dev mailing list