mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 15:43:24 +00:00
Added the optional DEVTESTS feature for developer tests with controlled name resolution to both IPv4 and IPV6 addresses
This commit is contained in:
parent
a86376cd1e
commit
602a54420e
7 changed files with 350 additions and 8 deletions
5
socat.c
5
socat.c
|
@ -714,6 +714,11 @@ void socat_version(FILE *fd) {
|
|||
#else
|
||||
fputs(" #undef WITH_RETRY\n", fd);
|
||||
#endif
|
||||
#ifdef WITH_DEVTESTS
|
||||
fprintf(fd, " #define WITH_DEVTESTS %d\n", WITH_DEVTESTS);
|
||||
#else
|
||||
fputs(" #undef WITH_DEVTESTS\n", fd);
|
||||
#endif
|
||||
#ifdef WITH_MSGLEVEL
|
||||
fprintf(fd, " #define WITH_MSGLEVEL %d /*%s*/\n", WITH_MSGLEVEL,
|
||||
&"debug\0\0\0info\0\0\0\0notice\0\0warn\0\0\0\0error\0\0\0fatal\0\0\0"[WITH_MSGLEVEL<<3]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue