summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-07-27 14:55:25 +0000
committerderaadt <deraadt@openbsd.org>1996-07-27 14:55:25 +0000
commit686b046bd53cf51f583071bc04c2dfa1b33e27c5 (patch)
treec5557147a5ebe8232e3d4e419a51215053621a0b
parentclose all pipes in child; netbsd pr#2575 (diff)
downloadwireguard-openbsd-686b046bd53cf51f583071bc04c2dfa1b33e27c5.tar.xz
wireguard-openbsd-686b046bd53cf51f583071bc04c2dfa1b33e27c5.zip
refresh screen better; freebsd pr#1425; from fn
-rw-r--r--usr.bin/systat/netstat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c
index 7a0cc403e3a..4e5e0d2d941 100644
--- a/usr.bin/systat/netstat.c
+++ b/usr.bin/systat/netstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netstat.c,v 1.3 1996/06/26 05:40:09 deraadt Exp $ */
+/* $OpenBSD: netstat.c,v 1.4 1996/07/27 14:55:25 deraadt Exp $ */
/* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: netstat.c,v 1.3 1996/06/26 05:40:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: netstat.c,v 1.4 1996/07/27 14:55:25 deraadt Exp $";
#endif /* not lint */
/*
@@ -468,6 +468,8 @@ cmdnetstat(cmd, args)
p->ni_flags |= NIF_LACHG|NIF_FACHG;
}
nflag = new;
+ wclear(wnd);
+ labelnetstat();
goto redisplay;
}
if (!netcmd(cmd, args))