From: Vincent Bernat Date: Fri, 27 Feb 2009 13:16:19 +0000 (+0100) Subject: When refreshing port information, clean up existing information! X-Git-Tag: 0.3.1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63f4b177e9b98ee2531e24a584fb7eaa754d0a14;p=thirdparty%2Flldpd.git When refreshing port information, clean up existing information! --- 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 }