app/test/test_table_acl: fill missing field
PATCH 1/1 app/test/test_table_acl: fill missing field
This patch fills the missing field of ipv4_5tuple structure in acl table test.
Signed-off-by Fan Zhang <[email protected]>
--- app/test/test_table_acl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
app/test/test_table_acl.c +3 -1
@@ -1,7 +1,7 @@/*- * BSD LICENSE * -* Copyright(c) 2010-2014 Intel Corporation. All rights reserved. +* Copyright(c) 2010-2016 Intel Corporation. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without
@@ -45,7 +45,9 @@**/ struct ipv4_5tuple { +uint8_t ttl;uint8_t proto; +uint16_t checksum;uint32_t ip_src;uint32_t ip_dst;uint16_t port_src;
Signature · 1 line
2.5.0
2016-04-01 16:40, Fan Zhang:
Quoted 2 lines
This patch fills the missing field of
ipv4_5tuplestructure in acl table test.
I still don't understand why it is needed.
app/test/test_table_acl.c line 53
Quoted 7 lines
struct
ipv4_5tuple{app/test/test_table_acl.c +2
-0+uint8_t ttl;uint8_t proto; +uint16_t checksum;uint32_t ip_src;uint32_t ip_dst;uint16_t port_src;
Adding 2 fields to a 5-tuple makes it a 7-tuple.