mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-27 09:48:08 +00:00
remove explicit "0.0.0.0" specification on -p option because it turns out
the "tcp6" listener that results accepts ipv4 after all
This commit is contained in:
parent
8a1bc2c4e0
commit
3112a7ecb3
1
NOTES
1
NOTES
@ -72,7 +72,6 @@ it uses select(), I'm not sure how I would honor Thread.interrupt() or
|
|||||||
whatever. It's not guaranteed to interrupt select(), and I'm not keen on
|
whatever. It's not guaranteed to interrupt select(), and I'm not keen on
|
||||||
adding an arbitrary timeout/polling feature to it.
|
adding an arbitrary timeout/polling feature to it.
|
||||||
|
|
||||||
XXX - try without 0.0.0.0
|
|
||||||
XXX - implement start on boot
|
XXX - implement start on boot
|
||||||
|
|
||||||
XXX - scp
|
XXX - scp
|
||||||
|
@ -149,7 +149,7 @@ Java_org_galexander_sshd_SimpleSSHDService_start_1sshd(JNIEnv *env_,
|
|||||||
if (port) {
|
if (port) {
|
||||||
argv[argc++] = "-p";
|
argv[argc++] = "-p";
|
||||||
argv[argc] = malloc(20);
|
argv[argc] = malloc(20);
|
||||||
sprintf(argv[argc], "0.0.0.0:%d", (int)port);
|
sprintf(argv[argc], "%d", (int)port);
|
||||||
argc++;
|
argc++;
|
||||||
}
|
}
|
||||||
argc += process_extra(extra, &argv[argc],
|
argc += process_extra(extra, &argv[argc],
|
||||||
|
Loading…
Reference in New Issue
Block a user