diff options
author | Brian Feldman <green@FreeBSD.org> | 2001-05-03 00:29:28 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2001-05-03 00:29:28 +0000 |
commit | 933ca70f8f888b7fc1b06213198ba15ca346aeca (patch) | |
tree | de8f96f1440772adb7e5ccbc61ac4545d9a36623 /crypto/openssh/servconf.c | |
parent | 1f5ce8f4121fe61dd549709dadf7d5e9fd29151e (diff) | |
download | src-test2-933ca70f8f888b7fc1b06213198ba15ca346aeca.tar.gz src-test2-933ca70f8f888b7fc1b06213198ba15ca346aeca.zip |
Notes
Diffstat (limited to 'crypto/openssh/servconf.c')
-rw-r--r-- | crypto/openssh/servconf.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index 5f3213e832af..bbc4367555e2 100644 --- a/crypto/openssh/servconf.c +++ b/crypto/openssh/servconf.c @@ -223,7 +223,7 @@ typedef enum { sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, sIgnoreUserKnownHosts, sHostDSAKeyFile, sCiphers, sProtocol, sPidFile, sGatewayPorts, sDSAAuthentication, sConnectionsPerPeriod, sXAuthLocation, - sSubsystem, sMaxStartups + sSubsystem, sMaxStartups, sVersionAddendum } ServerOpCodes; /* Textual representation of the tokens. */ @@ -288,6 +288,7 @@ static struct { { "connectionsperperiod", sConnectionsPerPeriod }, { "subsystem", sSubsystem }, { "maxstartups", sMaxStartups }, + { "versionaddendum", sVersionAddendum }, { NULL, 0 } }; @@ -736,6 +737,13 @@ parse_flag: intptr = &options->max_startups; goto parse_int; + case sVersionAddendum: + ssh_version_set_addendum(strtok(cp, "\n")); + do + arg = strdelim(&cp); + while (arg != NULL && *arg != '\0'); + break; + default: fatal("%.200s line %d: Missing handler for opcode %s (%d)\n", filename, linenum,arg, opcode); |