[dpdk-dev,v2,2/5] test: make all lpm routes be of unsigned type

Message ID 1468512382-30412-3-git-send-email-bruce.richardson@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers

Commit Message

Bruce Richardson July 14, 2016, 4:06 p.m. UTC
  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@intel.com>
---
 app/test/test_lpm_routes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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},