summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-08-03 07:34:42 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-08-03 07:34:42 +0000
commit65be5090c9cfd1b48c4204f0e846b45c26897942 (patch)
tree7f38f8e8028100ae8c693c1611ec607c037a5bf7 /sbin
parent9263095a7e73d1b775beea101b546c47824c174e (diff)
Fix compilation in non-INET6 case (rfunk@funknet.net)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 7ba9aa9c6e3..085f50f7936 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.39 2000/06/30 18:17:58 itojun Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.40 2000/08/03 07:34:41 angelos Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -81,7 +81,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-static char rcsid[] = "$OpenBSD: ifconfig.c,v 1.39 2000/06/30 18:17:58 itojun Exp $";
+static char rcsid[] = "$OpenBSD: ifconfig.c,v 1.40 2000/08/03 07:34:41 angelos Exp $";
#endif
#endif /* not lint */
@@ -1440,7 +1440,7 @@ phys_status(force)
ifrp = (struct ifreq *) &in6_ifr;
}
#else /* INET6 */
- ifrp = ifr;
+ ifrp = &ifr;
srccmd = SIOCGIFPSRCADDR;
dstcmd = SIOCGIFPDSTADDR;
#endif /* INET6 */