summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppush
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-04-29 05:24:26 +0000
committerwpaul <wpaul@FreeBSD.org>1996-04-29 05:24:26 +0000
commit934e692b003173cedf0010e5243778fde94a4816 (patch)
treeb4db015da3751a7501925d710ddebc5d38c4f724 /usr.sbin/yppush
parented088366eac403ff8775e1e06779f4e529b337c5 (diff)
downloadFreeBSD-src-934e692b003173cedf0010e5243778fde94a4816.zip
FreeBSD-src-934e692b003173cedf0010e5243778fde94a4816.tar.gz
Fix embarassing mind-o: transient RPC program numbers run from
0x40000000 to 0x5FFFFFFF, not 0x4000000 to 0x5FFFFFF. *sigh*
Diffstat (limited to 'usr.sbin/yppush')
-rw-r--r--usr.sbin/yppush/yppush_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/yppush/yppush_main.c b/usr.sbin/yppush/yppush_main.c
index b596e1a..12137ee 100644
--- a/usr.sbin/yppush/yppush_main.c
+++ b/usr.sbin/yppush/yppush_main.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: yppush_main.c,v 1.26 1996/04/03 00:27:53 wpaul Exp wpaul $
+ * $Id: yppush_main.c,v 1.3 1996/04/03 03:24:03 wpaul Exp $
*/
#include <stdio.h>
@@ -53,7 +53,7 @@ struct dom_binding {};
#include "yppush_extern.h"
#ifndef lint
-static const char rcsid[] = "$Id: yppush_main.c,v 1.26 1996/04/03 00:27:53 wpaul Exp wpaul $";
+static const char rcsid[] = "$Id: yppush_main.c,v 1.3 1996/04/03 03:24:03 wpaul Exp $";
#endif
char *progname = "yppush";
@@ -400,7 +400,7 @@ int yp_push(server, map, tid)
* transient program number.
*/
xprt = svcudp_create(sock);
- for (prognum = 0x4000000; prognum < 0x5FFFFFF; prognum++) {
+ for (prognum = 0x40000000; prognum < 0x5FFFFFFF; prognum++) {
if (svc_register(xprt, prognum, 1,
yppush_xfrrespprog_1, IPPROTO_UDP) == TRUE)
break;
OpenPOWER on IntegriCloud