summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-04-21 04:40:36 +0000
committercgd <cgd@NetBSD.org>1995-04-21 04:40:36 +0000
commitff276cbedcd927cb6aeb3158bb262930bb78c4e7 (patch)
tree4a585b421a2c3c784c6f7ef6a5159b2a1daa57db
parent5982b968a9de1ae77ed6a97816b24dbf26feda9b (diff)
really nasty hack for the alpha. bigtime XXX
-rw-r--r--usr.sbin/ypbind/ypbind.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index 1b00fdf161e..420db589488 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -31,7 +31,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$Id: ypbind.c,v 1.18 1995/01/15 09:09:30 mycroft Exp $";
+static char rcsid[] = "$Id: ypbind.c,v 1.19 1995/04/21 04:40:36 cgd Exp $";
#endif
#include <sys/param.h>
@@ -750,6 +750,11 @@ int force;
/*printf("returned from %s about %s\n", inet_ntoa(raddrp->sin_addr), dom);*/
+#ifdef __alpha__ /* XXX XXX */
+ /* you _REALLY_ do not want to know... */ /* XXX XXX */
+ dom = (char *)((u_long)dom | (u_long)0x100000000); /* XXX XXX */
+#endif /* XXX XXX */
+
if (dom == NULL)
return;