Return to misc.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.91, 2013/07/12 00:43:50 | version 1.92, 2013/10/14 23:28:23 | ||
---|---|---|---|
|
|
||
#include <netinet/ip.h> | #include <netinet/ip.h> | ||
#include <netinet/tcp.h> | #include <netinet/tcp.h> | ||
#include <ctype.h> | |||
#include <errno.h> | #include <errno.h> | ||
#include <fcntl.h> | #include <fcntl.h> | ||
#include <netdb.h> | #include <netdb.h> | ||
|
|
||
} | } | ||
snprintf(iptos_str, sizeof iptos_str, "0x%02x", iptos); | snprintf(iptos_str, sizeof iptos_str, "0x%02x", iptos); | ||
return iptos_str; | return iptos_str; | ||
} | |||
void | |||
lowercase(char *s) | |||
{ | |||
for (; *s; s++) | |||
*s = tolower((u_char)*s); | |||
} | } |