mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 00:34:33 +02:00
- markus@cvs.openbsd.org 2003/12/09 17:29:04
[sshd.c] fix -o and HUP; ok henning@
This commit is contained in:
parent
b5820f40bf
commit
b9997192a7
@ -6,6 +6,9 @@
|
|||||||
1) send a bogus channel request if we find a channel
|
1) send a bogus channel request if we find a channel
|
||||||
2) send a bogus global request if we don't have a channel
|
2) send a bogus global request if we don't have a channel
|
||||||
ok + test beck@
|
ok + test beck@
|
||||||
|
- markus@cvs.openbsd.org 2003/12/09 17:29:04
|
||||||
|
[sshd.c]
|
||||||
|
fix -o and HUP; ok henning@
|
||||||
|
|
||||||
20031209
|
20031209
|
||||||
- (dtucker) OpenBSD CVS Sync
|
- (dtucker) OpenBSD CVS Sync
|
||||||
@ -1575,4 +1578,4 @@
|
|||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3140 2003/12/17 05:27:32 djm Exp $
|
$Id: ChangeLog,v 1.3141 2003/12/17 05:29:22 djm Exp $
|
||||||
|
7
sshd.c
7
sshd.c
@ -42,7 +42,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sshd.c,v 1.282 2003/12/02 17:01:15 markus Exp $");
|
RCSID("$OpenBSD: sshd.c,v 1.283 2003/12/09 17:29:04 markus Exp $");
|
||||||
|
|
||||||
#include <openssl/dh.h>
|
#include <openssl/dh.h>
|
||||||
#include <openssl/bn.h>
|
#include <openssl/bn.h>
|
||||||
@ -800,6 +800,7 @@ main(int ac, char **av)
|
|||||||
FILE *f;
|
FILE *f;
|
||||||
struct addrinfo *ai;
|
struct addrinfo *ai;
|
||||||
char ntop[NI_MAXHOST], strport[NI_MAXSERV];
|
char ntop[NI_MAXHOST], strport[NI_MAXSERV];
|
||||||
|
char *line;
|
||||||
int listen_sock, maxfd;
|
int listen_sock, maxfd;
|
||||||
int startup_p[2];
|
int startup_p[2];
|
||||||
int startups = 0;
|
int startups = 0;
|
||||||
@ -908,9 +909,11 @@ main(int ac, char **av)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'o':
|
case 'o':
|
||||||
if (process_server_config_line(&options, optarg,
|
line = xstrdup(optarg);
|
||||||
|
if (process_server_config_line(&options, line,
|
||||||
"command-line", 0) != 0)
|
"command-line", 0) != 0)
|
||||||
exit(1);
|
exit(1);
|
||||||
|
xfree(line);
|
||||||
break;
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user