]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordjm@openbsd.org <djm@openbsd.org>
Sun, 24 May 2015 23:39:16 +0000 (23:39 +0000)
committerDamien Miller <djm@mindrot.org>
Sun, 24 May 2015 23:49:48 +0000 (09:49 +1000)
add missing 'c' option to getopt(), case statement was
 already there; from Felix Bolte

Upstream-ID: 9b19b4e2e0b54d6fefa0dfac707c51cf4bae3081

sshd.c

diff --git a/sshd.c b/sshd.c
index eb49b5b845f333aa4683017eea05f933e1321d75..6f8c6f2b1089ea5c2c8e35a26f3c7fc0765cbab1 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.449 2015/05/21 06:43:31 djm Exp $ */
+/* $OpenBSD: sshd.c,v 1.450 2015/05/24 23:39:16 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1495,7 +1495,8 @@ main(int ac, char **av)
        initialize_server_options(&options);
 
        /* Parse command-line arguments. */
-       while ((opt = getopt(ac, av, "f:p:b:k:h:g:u:o:C:dDeE:iqrtQRT46")) != -1) {
+       while ((opt = getopt(ac, av,
+           "C:E:b:c:f:g:h:k:o:p:u:46DQRTdeiqrt")) != -1) {
                switch (opt) {
                case '4':
                        options.address_family = AF_INET;