-/* $OpenBSD: ypbind.c,v 1.14 1997/01/22 08:54:14 deraadt Exp $ */
+/* $OpenBSD: ypbind.c,v 1.15 1997/01/30 02:00:26 deraadt Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt <deraadt@theos.com>
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypbind.c,v 1.14 1997/01/22 08:54:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypbind.c,v 1.15 1997/01/30 02:00:26 deraadt Exp $";
#endif
#include <sys/param.h>
char path[MAXPATHLEN];
int fd;
+ if (strchr(dom, "/") || strchr(dom, ".")
+ return;
+
#ifdef DEBUG
printf("returned from %s about %s\n", inet_ntoa(raddrp->sin_addr), dom);
#endif