]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Revert "agent: fix crash on AgentX reconnect with NetSNMP 5.8"
authorVincent Bernat <vincent@bernat.ch>
Mon, 13 Apr 2020 17:58:20 +0000 (19:58 +0200)
committerVincent Bernat <vincent@bernat.ch>
Mon, 13 Apr 2020 17:58:20 +0000 (19:58 +0200)
This reverts commit c0b9ad5fc83e913e6ef761390c6211d6d240c212. This is
not needed: global and static variables are zero-initialized in C89.

NEWS
src/daemon/agent_priv.c

diff --git a/NEWS b/NEWS
index bbf8584c2aae913557be1ca9c2aefa743d5d1023..f98609172652daa889355f733c0b7827ff93ad91 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,6 @@
 lldpd (1.0.6)
   * Fix:
     + Do not loose chassis local information when interface status changes.
-    + Fix crash on AgentX reconnect with NetSNMP 5.8.
 
 lldpd (1.0.5)
   * Changes:
index 6901df8fe4c1bcd2cd457617950c3537b6a684b4..59054ccca797f991d06a5bbc9ebf7905e732dcae 100644 (file)
@@ -45,7 +45,7 @@
 #endif
 
 static oid netsnmp_unix[] = { TRANSPORT_DOMAIN_LOCAL };
-static netsnmp_tdomain unixDomain = {};
+static netsnmp_tdomain unixDomain;
 
 static char *
 agent_priv_unix_fmtaddr(F_FMTADDR_SIGNATURE)