Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Register cdp_input when enabled for the first time
[vpp.git]
/
src
/
plugins
/
cdp
/
cdp.h
diff --git
a/src/plugins/cdp/cdp.h
b/src/plugins/cdp/cdp.h
index
32a0782
..
ab2ab95
100644
(file)
--- a/
src/plugins/cdp/cdp.h
+++ b/
src/plugins/cdp/cdp.h
@@
-95,6
+95,7
@@
typedef struct
/* top-level state */
int enabled;
+ int cdp_protocol_registered;
/* Packet templates for different encap types */
vlib_packet_template_t packet_templates[CDP_N_PACKET_TEMPLATES];