summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2023-05-22 12:37:01 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2023-05-22 12:37:01 +0000
commit156e6f4276bdea4fdb7a02cb47f33d667743fd76 (patch)
tree231c3f56b3200fc612dfa08398d0c70fd0986c29
parent63e0d2949e6bfcc18c20c2368682a380c39dfbfa (diff)
Remove duplicate entries in kvars.
OK tobhe@
-rw-r--r--usr.bin/tcpbench/tcpbench.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/tcpbench/tcpbench.c b/usr.bin/tcpbench/tcpbench.c
index 02fc945975f..eade06d039d 100644
--- a/usr.bin/tcpbench/tcpbench.c
+++ b/usr.bin/tcpbench/tcpbench.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpbench.c,v 1.67 2022/08/15 09:06:54 claudio Exp $ */
+/* $OpenBSD: tcpbench.c,v 1.68 2023/05/22 12:37:00 bluhm Exp $ */
/*
* Copyright (c) 2008 Damien Miller <djm@mindrot.org>
@@ -159,7 +159,6 @@ static const char *allowed_kvars[] = {
"rcv_space",
"rcv_up",
"rcv_wscale",
- "rcv_wscale",
"rfbuf_cnt",
"rfbuf_ts",
"rtt",
@@ -175,8 +174,6 @@ static const char *allowed_kvars[] = {
"snd_wl1",
"snd_wl2",
"snd_wnd",
- "snd_wnd",
- "snd_wscale",
"snd_wscale",
"snd_zerowin",
"so_rcv_sb_cc",
@@ -428,7 +425,6 @@ tcp_stats_display(unsigned long long total_elapsed, long double mbps,
P(tcpi, snd_wl1, "%u")
P(tcpi, snd_wl2, "%u")
P(tcpi, snd_wnd, "%u")
- P(tcpi, snd_wnd, "%u")
P(tcpi, snd_wscale, "%hhu")
P(tcpi, snd_zerowin, "%u")
P(tcpi, so_rcv_sb_cc, "%u")