From 2bd9c1c9006930da106982d2fec95f555d04ff19 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 1 Oct 2009 22:16:25 +0200 Subject: [PATCH] Fix file descriptor leak when enabling "listen on VLAN" feature The VLAN list was always reinitialized... --- src/interfaces.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interfaces.c b/src/interfaces.c index 57a7ed52..8d714dbd 100644 --- a/src/interfaces.c +++ b/src/interfaces.c @@ -932,6 +932,7 @@ _iface_vlan_setup() static int done = 0; if (done) return; TAILQ_INIT(&ifvls); + done = 1; } /* Close the list of VLAN associated to the given hardware port if we have -- 2.39.5