mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 01:50:16 +00:00
- (djm) [ssh-rand-helper.c] Print error and usage() when passed command-
line arguments as none are supported. Exit when passed unrecognised commandline flags. bz#1568 from gson AT araneus.fi
This commit is contained in:
parent
2191e04549
commit
409661f0d9
@ -1,4 +1,9 @@
|
||||
20091107
|
||||
20091120
|
||||
- (djm) [ssh-rand-helper.c] Print error and usage() when passed command-
|
||||
line arguments as none are supported. Exit when passed unrecognised
|
||||
commandline flags. bz#1568 from gson AT araneus.fi
|
||||
|
||||
20091118
|
||||
- (djm) [channels.c misc.c misc.h sshd.c] add missing setsockopt() to
|
||||
set IPV6_V6ONLY for local forwarding with GatwayPorts=yes. Unify
|
||||
setting IPV6_V6ONLY behind a new function misc.c:sock_set_v6only()
|
||||
|
@ -853,11 +853,17 @@ main(int argc, char **argv)
|
||||
default:
|
||||
error("Invalid commandline option");
|
||||
usage();
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1);
|
||||
|
||||
if (argc != optind) {
|
||||
error("Unexpected commandline arguments.");
|
||||
usage();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
#ifdef USE_SEED_FILES
|
||||
prng_read_seedfile();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user