diff options
author | 2005-04-04 16:03:02 +0000 | |
---|---|---|
committer | 2005-04-04 16:03:02 +0000 | |
commit | d41ab76b126b098724aecc0f8a71644aa858bf7d (patch) | |
tree | 5da36053f166de517bfaefd537e857c4f2041191 | |
parent | add rssadapt(9) to SEE ALSO in ieee80211(9), and vice versa; (diff) | |
download | wireguard-openbsd-d41ab76b126b098724aecc0f8a71644aa858bf7d.tar.xz wireguard-openbsd-d41ab76b126b098724aecc0f8a71644aa858bf7d.zip |
print lladdr instead of address; pointed out by a few
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 6cc579dccd7..3ae8ec6514e 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.132 2005/03/30 02:55:37 tedu Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.133 2005/04/04 16:03:02 deraadt Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -77,7 +77,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.132 2005/03/30 02:55:37 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: ifconfig.c,v 1.133 2005/04/04 16:03:02 deraadt Exp $"; #endif #endif /* not lint */ @@ -2002,7 +2002,7 @@ status(int link, struct sockaddr_dl *sdl) printf(" mtu %lu", mtu); putchar('\n'); if (sdl != NULL && sdl->sdl_type == IFT_ETHER && sdl->sdl_alen) - (void)printf("\taddress: %s\n", ether_ntoa( + (void)printf("\tlladdr: %s\n", ether_ntoa( (struct ether_addr *)LLADDR(sdl))); (void) memset(&ifrdesc, 0, sizeof(ifrdesc)); |