From f7a5089bcbce31e55e9aa9122abb989b7dcbff7d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 13 Mar 2016 12:11:35 +0100 Subject: [PATCH] interfaces: issue a warning if we get a loop We really want to correct that. --- src/daemon/interfaces.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5