diff options
Diffstat (limited to 'usr.sbin/pppd/auth.c')
-rw-r--r-- | usr.sbin/pppd/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppd/auth.c b/usr.sbin/pppd/auth.c index 42e23f3..5e696a2 100644 --- a/usr.sbin/pppd/auth.c +++ b/usr.sbin/pppd/auth.c @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: auth.c,v 1.14 1997/04/15 07:00:32 danny Exp $"; +static char rcsid[] = "$Id: auth.c,v 1.15 1997/04/16 02:07:06 danny Exp $"; #endif #include <stdio.h> @@ -1036,7 +1036,7 @@ scan_authfile(f, client, server, secret, addrs, filename) else if (addr_list != NULL) free_wordlist(addr_list); - non_wildclient = (best_flag & NONWILD_CLIENT) && *client != '\0'; + non_wildclient = (best_flag & NONWILD_CLIENT) && client && *client != '\0'; return best_flag; } |