X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/f6740270cfd0572241be43024f479431c20fecdc..38634ff69e03ef41a283cb0fc4142948559a70c7:/servconf.c diff --git a/servconf.c b/servconf.c index 96ad1808..ddb34f9b 100644 --- a/servconf.c +++ b/servconf.c @@ -10,7 +10,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: servconf.c,v 1.140 2005/03/10 22:01:05 deraadt Exp $"); +RCSID("$OpenBSD: servconf.c,v 1.141 2005/05/16 15:30:51 markus Exp $"); #include "ssh.h" #include "log.h" @@ -532,6 +532,9 @@ parse_time: case sAddressFamily: arg = strdelim(&cp); + if (!arg || *arg == '\0') + fatal("%s line %d: missing address family.", + filename, linenum); intptr = &options->address_family; if (options->listen_addrs != NULL) fatal("%s line %d: address family must be specified before "