forked from rpms/rpcbind
Updated rc2 patch with the latest bits
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
77df14f7ea
commit
868b1509a2
@ -498,18 +498,9 @@ index 7d56479..a6c835b 100644
|
|||||||
IN6_IS_ADDR_LINKLOCAL(&SA2SIN6ADDR(caller_sa)) &&
|
IN6_IS_ADDR_LINKLOCAL(&SA2SIN6ADDR(caller_sa)) &&
|
||||||
IN6_IS_ADDR_LINKLOCAL(&SA2SIN6ADDR(hint_sa))) {
|
IN6_IS_ADDR_LINKLOCAL(&SA2SIN6ADDR(hint_sa))) {
|
||||||
diff --git a/src/warmstart.c b/src/warmstart.c
|
diff --git a/src/warmstart.c b/src/warmstart.c
|
||||||
index d1bb971..e2f325d 100644
|
index d1bb971..b6eb73e 100644
|
||||||
--- a/src/warmstart.c
|
--- a/src/warmstart.c
|
||||||
+++ b/src/warmstart.c
|
+++ b/src/warmstart.c
|
||||||
@@ -49,7 +49,7 @@
|
|
||||||
#include "rpcbind.h"
|
|
||||||
|
|
||||||
#ifndef RPCBIND_STATEDIR
|
|
||||||
-#define RPCBIND_STATEDIR "/tmp"
|
|
||||||
+#define RPCBIND_STATEDIR "/run"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* These files keep the pmap_list and rpcb_list in XDR format */
|
|
||||||
@@ -101,14 +101,15 @@ read_struct(char *filename, xdrproc_t structproc, void *list)
|
@@ -101,14 +101,15 @@ read_struct(char *filename, xdrproc_t structproc, void *list)
|
||||||
{
|
{
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
Loading…
Reference in New Issue
Block a user