Fix a slight braino in last.
This commit is contained in:
parent
8d38841260
commit
e9d0bd756d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ifconfig.c,v 1.51 1999/05/17 16:00:05 thorpej Exp $ */
|
||||
/* $NetBSD: ifconfig.c,v 1.52 1999/05/18 18:01:08 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
@ -80,7 +80,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: ifconfig.c,v 1.51 1999/05/17 16:00:05 thorpej Exp $");
|
||||
__RCSID("$NetBSD: ifconfig.c,v 1.52 1999/05/18 18:01:08 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -370,6 +370,8 @@ main(argc, argv)
|
||||
/* Initialize af, just for use in getinfo(). */
|
||||
if (afp == NULL)
|
||||
af = afs->af_af;
|
||||
else
|
||||
af = afp->af_af;
|
||||
|
||||
/* Get information about the interface. */
|
||||
(void) strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
|
||||
|
Loading…
Reference in New Issue
Block a user