# HG changeset patch # User Matt Johnston # Date 1590679594 -28800 # Node ID d384bc2e5af34c0de1f53980b3220c2d8568488d # Parent ee6ccc2ecc47c8074aed946b877ccf63c832e6dd Don't warn when SO_PRIORITY fails diff -r ee6ccc2ecc47 -r d384bc2e5af3 netio.c --- a/netio.c Thu May 28 23:23:54 2020 +0800 +++ b/netio.c Thu May 28 23:26:34 2020 +0800 @@ -398,9 +398,9 @@ } /* linux specific, sets QoS class. see tc-prio(8) */ rc = setsockopt(sock, SOL_SOCKET, SO_PRIORITY, (void*) &so_prio_val, sizeof(so_prio_val)); - if (rc < 0 && errno != ENOTSOCK) - dropbear_log(LOG_WARNING, "Couldn't set SO_PRIORITY (%s)", - strerror(errno)); + if (rc < 0 && errno != ENOTSOCK) { + TRACE(("Couldn't set SO_PRIORITY (%s)", strerror(errno))) + } #endif }