summaryrefslogtreecommitdiffstats
path: root/src/vnet/cdp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/cdp')
-rw-r--r--src/vnet/cdp/cdp_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/cdp/cdp_node.h b/src/vnet/cdp/cdp_node.h
index 7028ddcaf9c..21086c02527 100644
--- a/src/vnet/cdp/cdp_node.h
+++ b/src/vnet/cdp/cdp_node.h
@@ -95,7 +95,7 @@ typedef struct
vnet_main_t *vnet_main;
} cdp_main_t;
-cdp_main_t cdp_main;
+extern cdp_main_t cdp_main;
/* Packet counters */
#define foreach_cdp_error \