From: Ben Hutchings Date: Wed, 14 Jul 2010 02:41:38 +0000 (+0100) Subject: rpc.statd: Allow monitoring of addresses without names (Closes: #579397) X-Git-Tag: debian/1%1.2.2-3~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5a414ec7ca3423ee6ae8c35a6dcf646fe8712a1a;p=nfs-utils.git rpc.statd: Allow monitoring of addresses without names (Closes: #579397) --- diff --git a/debian/changelog b/debian/changelog index 0d5b199..67a4c16 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ nfs-utils (1:1.2.2-3) UNRELEASED; urgency=low * mount.nfs: Preserve explicit port=2049 option (Closes: #582003) + * rpc.statd: Allow monitoring of addresses without names (Closes: #579397) -- Ben Hutchings Wed, 14 Jul 2010 03:37:03 +0100 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); + } + diff --git a/debian/patches/series b/debian/patches/series index bbc16aa..05c4971 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ 11-532048-reduce-verbosity.patch 12-svcgssd-document-n-option.patch 13-preserve-explicit-port-2049.patch +14-allow-address-without-name.patch