innbind: does IPV6_V6ONLY depend on SO_REUSEADDR?
fschlich at CIS.FU-Berlin.DE
Tue Feb 1 11:36:21 UTC 2011
looking at innbind, I was wondering if it is safe to assume that when
SO_REUSEADDR is defined, IPV6_V6ONLY will *always* be defined as well?
Otherwise, a minor change might be useful:
@@ -212,7 +212,7 @@ static void
create_socket(struct binding *binding, const char *spec)
+#if defined(SO_REUSEADDR) || defined(IPV6_V6ONLY)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5557 bytes
Desc: not available
More information about the inn-workers