search for: doveadm_connect_with_default_port

Displaying 1 result from an estimated 1 matches for "doveadm_connect_with_default_port".

2019 Jan 04
1
Feature request: client bind address for replication
...ip) { const char *host; in_port_t port; @@ -130,18 +140,18 @@ i_fatal("Port not known for %s. Either set proxy_port " "or use %s:port", target, target); } - return doveadm_tcp_connect_port(host, port); + return doveadm_tcp_connect_port(host, port, my_ip); } int doveadm_connect_with_default_port(const char *path, - in_port_t default_port) + in_port_t default_port, char * my_ip) { int fd; /* we'll assume UNIX sockets typically have an absolute path, or at the very least '/' somewhere. */ if (strchr(path, '/') == NULL) - fd = doveadm_tcp_c...