Skip to content

Commit

Permalink
upstream: make PerSourceMaxStartups first-match-wins; ok dtucker@
Browse files Browse the repository at this point in the history
OpenBSD-Commit-ID: dac0c24cb709e3c595b8b4f422a0355dc5a3b4e7
  • Loading branch information
djmdjm committed Aug 29, 2023
1 parent cfa6685 commit f980317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions servconf.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: servconf.c,v 1.396 2023/07/17 05:26:38 djm Exp $ */
/* $OpenBSD: servconf.c,v 1.397 2023/08/29 02:50:10 djm Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
Expand Down Expand Up @@ -2030,7 +2030,7 @@ process_server_config_line_depth(ServerOptions *options, char *line,
fatal("%s line %d: %s integer value %s.",
filename, linenum, keyword, errstr);
}
if (*activep)
if (*activep && options->per_source_max_startups == -1)
options->per_source_max_startups = value;
break;

Expand Down

0 comments on commit f980317

Please sign in to comment.