Displaying 2 results from an estimated 2 matches for "bindable".
Did you mean:
findable
2007 Jan 15
4
iSCSI on a single interface?
Hi, are there currently any plans to make an iSCSI target created by
setting shareiscsi=on on a zvol
bindable to a single interface (setting tpgt or acls)?
I can cobble something together with ipfilter,
but that doesn''t give me enough granularity to say something like:
''host a can see target 1, host c can see targets 2-9'', etc.
Also, am I right in thinking without this, all ta...
2012 Feb 12
0
PATCH: multiple BindAddress
...s.bind_addresses[i+1]);
+ continue;
+ }
+ } else {
+ addrfound = 1;
+ break;
+ }
+ freeaddrinfo(res);
}
- if (bind(sock, res->ai_addr, res->ai_addrlen) < 0) {
- error("bind: %s: %s", options.bind_address, strerror(errno));
+
+ if (!addrfound){
+ error("no bindable addres is found, exiting");
close(sock);
- freeaddrinfo(res);
return -1;
}
- freeaddrinfo(res);
return sock;
}