From: Vincent Bernat Date: Sun, 13 Mar 2016 11:11:35 +0000 (+0100) Subject: interfaces: issue a warning if we get a loop X-Git-Tag: 0.9.2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7a5089bcbce31e55e9aa9122abb989b7dcbff7d;p=thirdparty%2Flldpd.git interfaces: issue a warning if we get a loop We really want to correct that. --- diff --git a/src/daemon/interfaces.c b/src/daemon/interfaces.c index 8c18be09..09aeff88 100644 --- a/src/daemon/interfaces.c +++ b/src/daemon/interfaces.c @@ -235,8 +235,8 @@ iface_append_vlan_to_lower(struct lldpd *cfg, int depth) { if (depth > 5) { - log_debug("interfaces", - "maximum depth reached when applying VLAN %s (loop?)", + log_warn("interfaces", + "BUG: maximum depth reached when applying VLAN %s (loop?)", vlan->name); return; }