summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-11-23 15:08:51 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-11-23 15:08:51 +0000
commit39be6acc1a5630e8f215b696ac7a634ef0ecac8d (patch)
tree2d41797819368fa27181863ed5d5ce855a3f01bc /sbin/ifconfig/ifconfig.c
parent8bf2d046e8b35802ad7c658f9f1bc9517581ab6c (diff)
typo (in #ifdef'd out code, but well...); Michal Ludvig <michal at logix.cz>
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-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 f19ef016351..c27cd179645 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.69 2002/07/08 00:48:54 deraadt Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.70 2002/11/23 15:08:50 henning Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -81,7 +81,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-static const char rcsid[] = "$OpenBSD: ifconfig.c,v 1.69 2002/07/08 00:48:54 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: ifconfig.c,v 1.70 2002/11/23 15:08:50 henning Exp $";
#endif
#endif /* not lint */
@@ -2333,7 +2333,7 @@ in6_getaddr(s, which)
#ifndef KAME_SCOPEID
struct sockaddr_in6 *sin6 = sin6tab[which];
- sin->sin6_len = sizeof(*sin6);
+ sin6->sin6_len = sizeof(*sin6);
if (which != MASK)
sin6->sin6_family = AF_INET6;