mirror of
https://github.com/sheumann/telnetd.git
synced 2025-02-16 13:30:34 +00:00
Don't generate log messages about "setsockopt (IP_TOS)" not working on GNO.
This isn't currently supported by MariGNOtti, so it always generates the message, but it's really not important.
This commit is contained in:
parent
e761e0fc48
commit
cc929f87ce
@ -415,7 +415,7 @@ main(int argc, char *argv[])
|
||||
if (tos
|
||||
&& (setsockopt(STDIN_FILENO, IPPROTO_IP, IP_TOS,
|
||||
(char *)&tos, sizeof(tos)) < 0)
|
||||
&& (errno != ENOPROTOOPT) )
|
||||
&& (errno != ENOPROTOOPT) && (errno != EINVAL) )
|
||||
syslog(LOG_WARNING, "setsockopt (IP_TOS): %m");
|
||||
}
|
||||
#endif /* defined(IPPROTO_IP) && defined(IP_TOS) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user