mirror of
http://galexander.org/git/simplesshd.git
synced 2025-01-03 19:50:55 +00:00
listen to "0.0.0.0:port" because otherwise it seems to default to ipv6 (??)
This commit is contained in:
parent
e8e3881877
commit
6d872af030
@ -101,7 +101,7 @@ Java_org_galexander_sshd_SimpleSSHDService_start_1sshd(JNIEnv *env_,
|
||||
if (port) {
|
||||
argv[argc++] = "-p";
|
||||
argv[argc] = malloc(20);
|
||||
sprintf(argv[argc], "%d", (int)port);
|
||||
sprintf(argv[argc], "0.0.0.0:%d", (int)port);
|
||||
argc++;
|
||||
}
|
||||
fprintf(stderr, "starting dropbear\n");
|
||||
|
Loading…
Reference in New Issue
Block a user