forked from pool/libtirpc
167c8f44ce
- Fix HAVE_AUTHDES/HAVE_GSSAPI in public header files (001-tirpc-features.patch) - Update to official release 0.3.0. authdes was disabled by default upstream. - Following patches were merged: - 001-symbol-versions-v5.patch - 003-add-des_crypt.diff - Remove 002-old-automake.patch, not needed anymore - Update 001-symbol-versions-v4.patch with 001-symbol-versions-v5.patch: Add --disable-symvers option - Update 003-add-des_crypt.diff, fix unresolved des functions - Update to git - Add 003-add-des_crypt.diff to fix unresolved *_crypt() functions - Disable gssapi for SLE11, kerberos version is too old - rpc/rpc.h requires now indirectly gssapi.h from krb5-devel - Update to current git. - The following patches were accepted upstream: - 003-xdr_h-fix.patch - 005-disable-rpcent.patch - 006-no-libnsl.patch - patch1_7.diff - patch2_7.diff - patch3_7.diff OBS-URL: https://build.opensuse.org/request/show/305737 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=43
33 lines
1020 B
Diff
33 lines
1020 B
Diff
|
|
Behebt das das Problem mit svc_register?
|
|
|
|
Gruß
|
|
Olaf
|
|
|
|
|
|
src/rpc_generic.c | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/src/rpc_generic.c b/src/rpc_generic.c
|
|
index 6148830..4fc882a 100644
|
|
--- a/src/rpc_generic.c
|
|
+++ b/src/rpc_generic.c
|
|
@@ -250,8 +250,7 @@ __rpc_getconfip(nettype)
|
|
return (NULL);
|
|
}
|
|
while ((nconf = getnetconfig(confighandle)) != NULL) {
|
|
- if (strcmp(nconf->nc_protofmly, NC_INET) == 0 ||
|
|
- strcmp(nconf->nc_protofmly, NC_INET6) == 0) {
|
|
+ if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
|
|
if (strcmp(nconf->nc_proto, NC_TCP) == 0 &&
|
|
netid_tcp == NULL) {
|
|
netid_tcp = strdup(nconf->nc_netid);
|
|
|
|
--
|
|
What is tolerance? It is the consequence of humanity. -- Voltaire
|
|
--------------------------------------------
|
|
Olaf Kirch - Director SUSE Linux Enterprise Core; R&D (okir@suse.com)
|
|
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
|
|
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
|
|
Graham Norton, HRB 21284 (AG Nürnberg)
|