X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fpatches%2F14-allow-address-without-name.patch;fp=debian%2Fpatches%2F14-allow-address-without-name.patch;h=66c084dfa83ef1c7d094d560174115dae9d413b5;hb=5a414ec7ca3423ee6ae8c35a6dcf646fe8712a1a;hp=0000000000000000000000000000000000000000;hpb=e8bf7bbe4cb900fc3c9813c5aad3525168e1c403;p=nfs-utils.git diff --git a/debian/patches/14-allow-address-without-name.patch b/debian/patches/14-allow-address-without-name.patch new file mode 100644 index 0000000..66c084d --- /dev/null +++ b/debian/patches/14-allow-address-without-name.patch @@ -0,0 +1,11 @@ +--- nfs-utils-1.2.2.orig/utils/statd/hostname.c ++++ nfs-utils-1.2.2/utils/statd/hostname.c +@@ -212,7 +212,7 @@ + buf, (socklen_t)sizeof(buf)); + freeaddrinfo(ai); + if (!result) +- return NULL; ++ return strdup(hostname); + return strdup(buf); + } +