parent
a9bcc738bd
commit
f244b4182f
@ -29,7 +29,7 @@ diff -up ypbind-mt-1.35/src/serv_list.c.nmlocal ypbind-mt-1.35/src/serv_list.c
|
|||||||
+ {
|
+ {
|
||||||
+ if (domainlist[i].server[s].host == NULL)
|
+ if (domainlist[i].server[s].host == NULL)
|
||||||
+ break;
|
+ break;
|
||||||
+ if (strcmp(inet_ntoa(domainlist[i].server[s].addr), "127.0.0.1") == 0)
|
+ if (strncmp(inet_ntoa(domainlist[i].server[s].addr), "127", 3) == 0)
|
||||||
+ {
|
+ {
|
||||||
+ localhost_used = 1;
|
+ localhost_used = 1;
|
||||||
+ return;
|
+ return;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||||
Name: ypbind
|
Name: ypbind
|
||||||
Version: 1.35
|
Version: 1.35
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
||||||
@ -117,6 +117,10 @@ fi
|
|||||||
%doc README NEWS COPYING
|
%doc README NEWS COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 10 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-5
|
||||||
|
- consider all 127.0.0.0/8 as localhost addresses
|
||||||
|
Related: #829487
|
||||||
|
|
||||||
* Mon Jul 09 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-4
|
* Mon Jul 09 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-4
|
||||||
- don't go offline when one of NIS servers is localhost
|
- don't go offline when one of NIS servers is localhost
|
||||||
Related: #829487
|
Related: #829487
|
||||||
|
Loading…
Reference in New Issue
Block a user