From: Vincent Bernat Date: Sat, 15 Nov 2008 15:48:39 +0000 (+0100) Subject: Not being able to use ethtool is not really important X-Git-Tag: 0.2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28aca6a0becd616c14b0055fb3e24fc66dd308b5;p=thirdparty%2Flldpd.git Not being able to use ethtool is not really important --- diff --git a/src/lldpd.c b/src/lldpd.c index 5310c343..4c28aefa 100644 --- a/src/lldpd.c +++ b/src/lldpd.c @@ -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)) { diff --git a/src/priv.c b/src/priv.c index 329e1ef0..0bf1e3ed 100644 --- a/src/priv.c +++ b/src/priv.c @@ -297,7 +297,7 @@ asroot_ethtool() ifr.ifr_data = (caddr_t)ðc; 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);