to eliminate an unused variable warning.
too.
- (dtucker) [misc.c] Move the routingdomain ifdef to allow the socket to
be created.
+ - (dtucker] [misc.c] Shrink the area covered by USE_ROUTINGDOMAIN more
+ to eliminate an unused variable warning.
20091226
- (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1
if (rdomain == -1)
return (sock);
-#ifdef USE_ROUTINGDOMAIN
switch (domain) {
case AF_INET6:
ipproto = IPPROTO_IPV6;
/* FALLTHROUGH */
case AF_INET:
+#ifdef USE_ROUTINGDOMAIN
debug2("socket %d af %d setting rdomain %d",
sock, domain, rdomain);
if (setsockopt(sock, ipproto, SO_RDOMAIN, &rdomain,
close(sock);
return (-1);
}
+#endif
break;
default:
debug("socket %d af %d does not support rdomain %d",
}
return (sock);
-#else
- return (-1);
-#endif
}
/* Characters considered whitespace in strsep calls. */
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "includes.h"
+
#include <sys/queue.h>
#include <sys/types.h>
#include <sys/socket.h>