]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Not being able to use ethtool is not really important
authorVincent Bernat <bernat@luffy.cx>
Sat, 15 Nov 2008 15:48:39 +0000 (16:48 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sat, 15 Nov 2008 15:48:39 +0000 (16:48 +0100)
src/lldpd.c
src/priv.c

index 5310c343bb8a49b85c2582b98e578473fe5a69b4..4c28aefa3cd101874da6bf4df9338b65f47ed226 100644 (file)
@@ -627,7 +627,7 @@ lldpd_port_add(struct lldpd *cfg, struct ifaddrs *ifa)
                }
                if (ethc.port == PORT_AUI) port->p_mau_type = LLDP_DOT3_MAU_AUI;
        } else
-               LLOG_INFO("unable to get eth info for %s", hardware->h_ifname);
+               LLOG_DEBUG("unable to get eth info for %s", hardware->h_ifname);
 
        if (!INTERFACE_OPENED(hardware)) {
 
index 329e1ef02cea8836976cdb3f290ad9327b39f8ba..0bf1e3ed43f808146c8b5419a9c433474ba2dbb9 100644 (file)
@@ -297,7 +297,7 @@ asroot_ethtool()
        ifr.ifr_data = (caddr_t)&ethc;
        ethc.cmd = ETHTOOL_GSET;
        if ((rc = ioctl(sock, SIOCETHTOOL, &ifr)) != 0) {
-               LLOG_WARN("[priv]: unable to ioctl ETHTOOL for %s", ifname);
+               LLOG_DEBUG("[priv]: unable to ioctl ETHTOOL for %s", ifname);
                must_write(remote, &rc, sizeof(int));
                free(ifname);
                close(sock);