Blame SOURCES/ypserv-2.31-map-update.patch

b0f15a
https://github.com/thkukuk/ypserv/pull/2
b0f15a
diff --git a/ypxfr/ypxfr.c b/ypxfr/ypxfr.c
b0f15a
index 358ac8d..d44773b 100644
b0f15a
--- a/ypxfr/ypxfr.c
b0f15a
+++ b/ypxfr/ypxfr.c
b0f15a
@@ -517,8 +517,8 @@ ypxfr (char *map, char *source_host, char *source_domain, char *target_domain,
b0f15a
   if (ypproc_order_2 (&req_nokey, &resp_order, clnt_udp) != RPC_SUCCESS)
b0f15a
     {
b0f15a
       log_msg (clnt_sperror (clnt_udp, "ypproc_order_2"));
b0f15a
-      masterOrderNum = time (NULL); /* We set it to the current time.
b0f15a
-                                       So a new map will be always newer. */
b0f15a
+      clnt_destroy (clnt_udp);
b0f15a
+      return YPXFR_YPERR;
b0f15a
     }
b0f15a
   else if (resp_order.stat != YP_TRUE)
b0f15a
     {