mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 23:53:25 +00:00
Added configure option --with-default-ipv
This commit is contained in:
parent
cb6e16b360
commit
8b2e0593f3
14 changed files with 139 additions and 36 deletions
9
socat.c
9
socat.c
|
@ -676,6 +676,15 @@ void socat_version(FILE *fd) {
|
|||
#else
|
||||
fputs(" #undef WITH_MSGLEVEL\n", fd);
|
||||
#endif
|
||||
#ifdef WITH_DEFAULT_IPV
|
||||
# if WITH_DEFAULT_IPV
|
||||
fprintf(fd, " #define WITH_DEFAULT_IPV %c\n", WITH_DEFAULT_IPV);
|
||||
# else
|
||||
fprintf(fd, " #define WITH_DEFAULT_IPV '\\0'\n");
|
||||
# endif
|
||||
#else
|
||||
fputs(" #undef WITH_DEFAULT_IPV\n", fd);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue