Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
pppoe: fix uninitialized memory bug
[vpp.git]
/
src
/
plugins
/
pppoe
/
pppoe_cp_node.c
diff --git
a/src/plugins/pppoe/pppoe_cp_node.c
b/src/plugins/pppoe/pppoe_cp_node.c
index
3f86645
..
bf9018e
100644
(file)
--- a/
src/plugins/pppoe/pppoe_cp_node.c
+++ b/
src/plugins/pppoe/pppoe_cp_node.c
@@
-237,6
+237,9
@@
VLIB_REGISTER_NODE (pppoe_cp_dispatch_node) = {
/* Takes a vector of packets. */
.vector_size = sizeof (u32),
+ .n_errors = PPPOE_N_ERROR,
+ .error_strings = pppoe_error_strings,
+
.n_next_nodes = PPPOE_CP_N_NEXT,
.next_nodes = {
#define _(s,n) [PPPOE_CP_NEXT_##s] = n,