summaryrefslogtreecommitdiff
path: root/usr.sbin/ypset
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-30 17:54:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-30 17:54:02 +0000
commit38f66910d20dab9d992d765aa1bd89453bf0c8d7 (patch)
treeeb5d0276fb57242600cec8bb2f44c2da76e25bd2 /usr.sbin/ypset
parent2ff46f8a3d7935cf757b1aa6a70956aa04d1e9e6 (diff)
use INADDR_LOOPBACK
Diffstat (limited to 'usr.sbin/ypset')
-rw-r--r--usr.sbin/ypset/ypset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c
index 34abd3df344..47318016357 100644
--- a/usr.sbin/ypset/ypset.c
+++ b/usr.sbin/ypset/ypset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypset.c,v 1.3 1996/05/22 12:13:01 deraadt Exp $ */
+/* $OpenBSD: ypset.c,v 1.4 1996/06/30 17:54:01 deraadt Exp $ */
/* $NetBSD: ypset.c,v 1.8 1996/05/13 02:46:33 thorpej Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypset.c,v 1.3 1996/05/22 12:13:01 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypset.c,v 1.4 1996/06/30 17:54:01 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -128,7 +128,7 @@ char **argv;
bzero(&sin, sizeof sin);
sin.sin_family = AF_INET;
- sin.sin_addr.s_addr = htonl(0x7f000001);
+ sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
while( (c=getopt(argc, argv, "h:d:")) != -1)
switch(c) {