diff options
author | brian <brian@FreeBSD.org> | 1999-03-16 01:23:09 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-03-16 01:23:09 +0000 |
commit | ac59e661beea56de0ee42cfd156fff6034b778ad (patch) | |
tree | 13498c189dc9aacbf1b8423390c3462e43487a7b /usr.sbin | |
parent | 0d2a12bcafeca568584cce7492b8ae0b27b7bd51 (diff) | |
download | FreeBSD-src-ac59e661beea56de0ee42cfd156fff6034b778ad.zip FreeBSD-src-ac59e661beea56de0ee42cfd156fff6034b778ad.tar.gz |
Host names are case-insensitive.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpc.yppasswdd/yppasswdd_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c index f1a65ab..307abfd 100644 --- a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c +++ b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c @@ -32,7 +32,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: yppasswdd_main.c,v 1.12 1997/10/13 11:18:50 charnier Exp $"; #endif /* not lint */ #include "yppasswd.h" @@ -236,7 +236,7 @@ name isn't set -- aborting"); exit(1); } - if (strncmp(mastername, (char *)&myname, sizeof(myname))) { + if (strncasecmp(mastername, (char *)&myname, sizeof(myname))) { yp_error("master of %s is %s, but we are %s", "passwd.byname", mastername, myname); yp_error("this host is not the NIS master server for \ |