git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/l3fwd: check service core reset result
[dpdk.git]
/
examples
/
ip_pipeline
/
parser.c
diff --git
a/examples/ip_pipeline/parser.c
b/examples/ip_pipeline/parser.c
index
3fffeb5
..
fb0769f
100644
(file)
--- a/
examples/ip_pipeline/parser.c
+++ b/
examples/ip_pipeline/parser.c
@@
-528,7
+528,7
@@
my_ether_aton(const char *a)
if (errno != 0 || end == a || (end[0] != ':' && end[0] != 0))
return NULL;
a = end + 1;
- } while (++i !=
sizeof(o) / sizeof(o[0]
) && end[0] != 0);
+ } while (++i !=
RTE_DIM(o
) && end[0] != 0);
/* Junk at the end of line */
if (end[0] != 0)