]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Lower log level for problem when getting bridge info
authorVincent Bernat <bernat@luffy.cx>
Sat, 21 Feb 2009 08:34:56 +0000 (09:34 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sat, 21 Feb 2009 08:34:56 +0000 (09:34 +0100)
src/features.c

index 8b172f6864013ec5331d421091f916796aeec5e3..74379df97ecf180fcb24f1959064cc3dccc15dc3 100644 (file)
@@ -51,12 +51,12 @@ old_iface_is_bridge(struct lldpd *cfg, const char *name)
                                  (unsigned long)ifindices, MAX_BRIDGES };
        if ((num = ioctl(cfg->g_sock, SIOCGIFBR, args)) < 0) {
                if (errno != ENOPKG)
-                       LLOG_WARN("unable to get available bridges");
+                       LLOG_INFO("unable to get available bridges");
                return 0;
        }
        for (i = 0; i < num; i++) {
                if (if_indextoname(ifindices[i], ifname) == NULL)
-                       LLOG_WARN("unable to get name of interface %d",
+                       LLOG_INFO("unable to get name of interface %d",
                            ifindices[i]);
                else if (strncmp(name, ifname, IFNAMSIZ) == 0)
                        return 1;