From aad64fc5579f45b281af7fe9464d6b5b43f5998b Mon Sep 17 00:00:00 2001 From: kn Date: Fri, 26 Aug 2022 18:37:44 +0000 Subject: [PATCH] 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 [...]". --- usr.bin/netstat/if.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.20.1