summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/servconf.c b/servconf.c
index 96ad18084..ddb34f9b9 100644
--- a/servconf.c
+++ b/servconf.c
@@ -10,7 +10,7 @@
10 */ 10 */
11 11
12#include "includes.h" 12#include "includes.h"
13RCSID("$OpenBSD: servconf.c,v 1.140 2005/03/10 22:01:05 deraadt Exp $"); 13RCSID("$OpenBSD: servconf.c,v 1.141 2005/05/16 15:30:51 markus Exp $");
14 14
15#include "ssh.h" 15#include "ssh.h"
16#include "log.h" 16#include "log.h"
@@ -532,6 +532,9 @@ parse_time:
532 532
533 case sAddressFamily: 533 case sAddressFamily:
534 arg = strdelim(&cp); 534 arg = strdelim(&cp);
535 if (!arg || *arg == '\0')
536 fatal("%s line %d: missing address family.",
537 filename, linenum);
535 intptr = &options->address_family; 538 intptr = &options->address_family;
536 if (options->listen_addrs != NULL) 539 if (options->listen_addrs != NULL)
537 fatal("%s line %d: address family must be specified before " 540 fatal("%s line %d: address family must be specified before "