version 1.367, 2009/05/28 16:50:16 |
version 1.368, 2009/10/28 16:38:18 |
|
|
continue; |
continue; |
} |
} |
/* Create socket for listening. */ |
/* Create socket for listening. */ |
listen_sock = socket(ai->ai_family, ai->ai_socktype, |
listen_sock = socket_rdomain(ai->ai_family, ai->ai_socktype, |
ai->ai_protocol); |
ai->ai_protocol, options.rdomain); |
if (listen_sock < 0) { |
if (listen_sock < 0) { |
/* kernel may not support ipv6 */ |
/* kernel may not support ipv6 */ |
verbose("socket: %.100s", strerror(errno)); |
verbose("socket: %.100s", strerror(errno)); |
|
|
if (options.challenge_response_authentication) |
if (options.challenge_response_authentication) |
options.kbd_interactive_authentication = 1; |
options.kbd_interactive_authentication = 1; |
|
|
/* set default channel AF */ |
/* set default channel AF and routing domain */ |
channel_set_af(options.address_family); |
channel_set_af(options.address_family); |
|
channel_set_rdomain(options.rdomain); |
|
|
/* Check that there are no remaining arguments. */ |
/* Check that there are no remaining arguments. */ |
if (optind < ac) { |
if (optind < ac) { |