diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c index 0daeccc14059..198c685b4d96 100644 --- a/usr.sbin/rpc.bootparamd/bootparamd.c +++ b/usr.sbin/rpc.bootparamd/bootparamd.c @@ -1,4 +1,4 @@ -/* $NetBSD: bootparamd.c,v 1.34 2000/06/28 01:30:56 thorpej Exp $ */ +/* $NetBSD: bootparamd.c,v 1.35 2000/07/04 08:18:44 enami Exp $ */ /* * This code is not copyright, and is placed in the public domain. @@ -11,7 +11,7 @@ #include #ifndef lint -__RCSID("$NetBSD: bootparamd.c,v 1.34 2000/06/28 01:30:56 thorpej Exp $"); +__RCSID("$NetBSD: bootparamd.c,v 1.35 2000/07/04 08:18:44 enami Exp $"); #endif #include @@ -390,13 +390,14 @@ lookup_bootparam(client, client_canonical, id, server, path) continue; } if (fnmatch(word, hp->h_name, - FNM_CASEFOLD) == 0) { + FNM_CASEFOLD) == 0) { /* See above. */ if (HASGLOB(word)) canon = hp->h_name; else canon = word; - } + } else + continue; } #undef HASGLOB