Displaying 2 results from an estimated 2 matches for "ips_count".
Did you mean:
ipc_count
2013 Nov 24
0
dovecot patch: do scanf correctly
...23:22:09 2013 +0000
+++ b/src/lib-dns/dns-lookup.c Sun Nov 24 06:30:12 2013 +0100
@@ -102,7 +102,7 @@
}
/* first line: <ret> <ip count> */
if (sscanf(line, "%d %u", &result->ret,
- &result->ips_count) == 0)
+ &result->ips_count) != 2)
return -1;
if (result->ret != 0) {
result->error = net_gethosterror(result->ret);
diff -r 8a3d0426f514 src/lib-settings/settings.c
--- a/src/lib-settings/setti...
2019 Jan 04
1
Feature request: client bind address for replication
...+++ dovecot-2.2.36-new/src/doveadm/doveadm-util.c 2019-01-04 15:26:09.326903786 +0100
@@ -100,19 +100,29 @@
}
static int
-doveadm_tcp_connect_port(const char *host, in_port_t port)
+doveadm_tcp_connect_port(const char *host, in_port_t port, char * my_ip)
{
struct ip_addr *ips;
unsigned int ips_count;
int ret, fd;
-
+ struct ip_addr my_net_ip;
+ int use_my_ip = 0;
+ if (strcmp(my_ip,"") == 0) {
+ i_info("No doveadm_local_ip setting, local ip supplied by operating system");
+ }
+ if (net_addr2ip(my_ip, &my_net_ip)) {
+ i_error("...