diff options
author | green <green@FreeBSD.org> | 2001-01-13 07:57:43 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-01-13 07:57:43 +0000 |
commit | 759414f218cbac7e3bb7e789f8f86f917cd37003 (patch) | |
tree | 8dbd2b92483e766f79ff613962f32160ea08a0e4 /crypto/openssh/servconf.c | |
parent | 6fe7969777574eae0f91d775660053f08763cbd2 (diff) | |
download | FreeBSD-src-759414f218cbac7e3bb7e789f8f86f917cd37003.zip FreeBSD-src-759414f218cbac7e3bb7e789f8f86f917cd37003.tar.gz |
/Really/ deprecate ConnectionsPerPeriod, ripping out the code for it
and giving a dire error to its lingering users.
Diffstat (limited to 'crypto/openssh/servconf.c')
-rw-r--r-- | crypto/openssh/servconf.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index ec6682f..928db29 100644 --- a/crypto/openssh/servconf.c +++ b/crypto/openssh/servconf.c @@ -680,18 +680,7 @@ parse_flag: break; case sConnectionsPerPeriod: - arg = strdelim(&cp); - if (cp == NULL) - fatal("%.200s line %d: missing (>= 0) number argument.\n", - filename, linenum); - if (sscanf(arg, "%u/%u", &options->connections_per_period, - &options->connections_period) != 2) - fatal("%.200s line %d: invalid numerical argument(s).\n", - filename, linenum); - if (options->connections_per_period != 0 && - options->connections_period == 0) - fatal("%.200s line %d: invalid connections period.\n", - filename, linenum); + fatal("ConnectionsPerPeriod has been deprecated."); break; case sSubsystem: |