diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-11-16 22:26:59 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-11-16 22:26:59 +0100 |
commit | aeee18457c5834b06f902f25ca2e7b80302b9f97 (patch) | |
tree | d4b1fc88a4a01701c0298ca6e58e7f83ecc6c2bd | |
parent | f028b4bdca6714f7426777b5226db60de5a6aeb2 (diff) |
debug bindbind-ipv4mapped
-rw-r--r-- | src/sock.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -124,6 +124,10 @@ int opensock (const char *host, int port, const char *bind_to, const char *bind_ log_message(LOG_INFO, "opensock: opening connection to %s:%d", host, port); + if (bind_to) { + log_message(LOG_INFO, + "opensock: bind to %s or %s", bind_to, bind_to_alt); + } memset (&hints, 0, sizeof (struct addrinfo)); hints.ai_family = AF_UNSPEC; |