From 63f4b177e9b98ee2531e24a584fb7eaa754d0a14 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 27 Feb 2009 14:16:19 +0100 Subject: [PATCH] When refreshing port information, clean up existing information! --- src/lldpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lldpd.c b/src/lldpd.c index cfeb8317..3b546821 100644 --- a/src/lldpd.c +++ b/src/lldpd.c @@ -557,7 +557,7 @@ lldpd_port_add(struct lldpd *cfg, struct ifaddrs *ifa) #ifdef ENABLE_DOT1 TAILQ_INIT(&hardware->h_lport.p_vlans); } else { - lldpd_vlan_cleanup(&hardware->h_lport); + lldpd_port_cleanup(&hardware->h_lport); #endif } -- 2.39.5