1 |
commit: fa590b418623face16e819698186695d78dd309e |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 1 16:45:15 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 21:29:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa590b41 |
7 |
|
8 |
net-analyzer/iptraf-ng: remove unused patch(es) |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
.../iptraf-ng/files/iptraf-ng-1.1.4-tcplog_flowrate_msg.patch | 11 ----------- |
15 |
1 file changed, 11 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-tcplog_flowrate_msg.patch b/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-tcplog_flowrate_msg.patch |
18 |
deleted file mode 100644 |
19 |
index 8e01989fe6f..00000000000 |
20 |
--- a/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-tcplog_flowrate_msg.patch |
21 |
+++ /dev/null |
22 |
@@ -1,11 +0,0 @@ |
23 |
---- a/src/tcptable.c |
24 |
-+++ b/src/tcptable.c |
25 |
-@@ -437,6 +437,8 @@ static char *tcplog_flowrate_msg(struct tcptableent *entry, char *buf, |
26 |
- size_t bufsize) |
27 |
- { |
28 |
- time_t interval = time(NULL) - entry->conn_starttime; |
29 |
-+ if (interval < 1) |
30 |
-+ interval = 1; |
31 |
- |
32 |
- char rbuf[64]; |
33 |
- rate_print(entry->bcount / interval, rbuf, sizeof(rbuf)); |