aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/openlldp/files/0007-lldp_8021qaz-extern-config-object.patch
blob: 36b575c56629ed45df4dc6077e1f7c90b8f1154e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 275fe9da663193a843de450f03e810daedc06955 Mon Sep 17 00:00:00 2001
From: Aaron Conole <aconole@redhat.com>
Date: Mon, 3 Aug 2020 15:25:38 -0400
Subject: [PATCH 7/9] lldp_8021qaz: extern config object

The config object only exists as part of the config translation unit
so remove the extra config object in the 8021qaz module.

Signed-off-by: Aaron Conole <aconole@redhat.com>
---
 lldp_8021qaz.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldp_8021qaz.c b/lldp_8021qaz.c
index a42fd11..673d758 100644
--- a/lldp_8021qaz.c
+++ b/lldp_8021qaz.c
@@ -49,7 +49,7 @@
 
 
 struct lldp_head lldp_head;
-struct config_t lldpad_cfg;
+extern config_t lldpad_cfg;
 extern bool read_only_8021qaz;
 
 static int ieee8021qaz_check_pending(struct port *port, struct lldp_agent *);
-- 
2.28.0