]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Failure to connect to a socket can happen without requiring a warning
authorVincent Bernat <bernat@luffy.cx>
Sun, 16 Nov 2008 21:14:28 +0000 (22:14 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 16 Nov 2008 21:14:28 +0000 (22:14 +0100)
src/priv.c

index 31d7e69151d29ac9c487c84b0138def1f3a79bb5..d37ad977060f8821060c3c5e77b562654c44acba 100644 (file)
@@ -413,7 +413,7 @@ asroot_snmp_socket()
        }
         if ((rc = connect(sock, (struct sockaddr *) addr,
                    sizeof(struct sockaddr_un))) != 0) {
-               LLOG_WARN("[priv]: cannot connect to %s", addr->sun_path);
+               LLOG_INFO("[priv]: cannot connect to %s", addr->sun_path);
                close(sock);
                rc = -1;
                must_write(remote, &rc, sizeof(int));