VPP-424 fix lldp_main declaration 74/3074/2
authorKlement Sekera <[email protected]>
Thu, 22 Sep 2016 09:50:48 +0000 (11:50 +0200)
committerDamjan Marion <[email protected]>
Fri, 23 Sep 2016 07:55:02 +0000 (07:55 +0000)
Change-Id: I1f30977f0b315fa72d73a29a8585b1711d5044d8
Signed-off-by: Klement Sekera <[email protected]>
vnet/vnet/lldp/lldp_node.h

index 39140f2..477ca7d 100644 (file)
@@ -96,7 +96,7 @@ typedef struct
 #define LLDP_MIN_TX_INTERVAL (1)
 #define LLDP_MAX_TX_INTERVAL (3600)
 
-lldp_main_t lldp_main;
+extern lldp_main_t lldp_main;
 
 /* Packet counters */
 #define foreach_lldp_error(F)                     \