diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-05-24 23:39:16 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-05-25 09:49:48 +1000 |
commit | 3e91b4e8b0dc2b4b7e7d42cf6e8994a32e4cb55e (patch) | |
tree | a1d4651d268984707a6d3719b1106ec09dff5fcc | |
parent | 64a89ec07660abba4d0da7c0095b7371c98bab62 (diff) |
upstream commit
add missing 'c' option to getopt(), case statement was
already there; from Felix Bolte
Upstream-ID: 9b19b4e2e0b54d6fefa0dfac707c51cf4bae3081
-rw-r--r-- | sshd.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.449 2015/05/21 06:43:31 djm Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.450 2015/05/24 23:39:16 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1495,7 +1495,8 @@ main(int ac, char **av) | |||
1495 | initialize_server_options(&options); | 1495 | initialize_server_options(&options); |
1496 | 1496 | ||
1497 | /* Parse command-line arguments. */ | 1497 | /* Parse command-line arguments. */ |
1498 | while ((opt = getopt(ac, av, "f:p:b:k:h:g:u:o:C:dDeE:iqrtQRT46")) != -1) { | 1498 | while ((opt = getopt(ac, av, |
1499 | "C:E:b:c:f:g:h:k:o:p:u:46DQRTdeiqrt")) != -1) { | ||
1499 | switch (opt) { | 1500 | switch (opt) { |
1500 | case '4': | 1501 | case '4': |
1501 | options.address_family = AF_INET; | 1502 | options.address_family = AF_INET; |