From: kn Date: Fri, 26 Aug 2022 18:37:44 +0000 (+0000) Subject: Remove stale comment about nonexistent ifnetaddr X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aad64fc5579f45b281af7fe9464d6b5b43f5998b;p=openbsd Remove stale comment about nonexistent ifnetaddr Obsolete since if.c r1.56 (2008) "Make if.c kvm free by fetching the interface stats via sysctl [...]". --- diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index d2b329ac54e..f72415a2a1f 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.78 2021/11/29 06:39:23 deraadt Exp $ */ +/* $OpenBSD: if.c,v 1.79 2022/08/26 18:37:44 kn Exp $ */ /* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */ /* @@ -86,8 +86,6 @@ static const struct if_show_err *if_errs = if_show_errs; /* * Print a description of the network interfaces. - * NOTE: ifnetaddr is the location of the kernel global "ifnet", - * which is a TAILQ_HEAD. */ void intpr(int interval, int repeatcount)