summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-22 07:25:16 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-22 08:07:47 +0200
commitd6b3ca7aae1784953a0d7f4fe01f7f8c6fb6b004 (patch)
tree73857523cbfb375fc8bca3d10049cba7fe65e267 /net-analyzer/iptraf-ng/files
parentnet-analyzer/iptraf-ng: Version 1.2.1 (diff)
downloadgentoo-d6b3ca7aae1784953a0d7f4fe01f7f8c6fb6b004.tar.gz
gentoo-d6b3ca7aae1784953a0d7f4fe01f7f8c6fb6b004.tar.bz2
gentoo-d6b3ca7aae1784953a0d7f4fe01f7f8c6fb6b004.zip
net-analyzer/iptraf-ng: Old
Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/iptraf-ng/files')
-rw-r--r--net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch11
-rw-r--r--net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-sprintf-format.patch20
2 files changed, 0 insertions, 31 deletions
diff --git a/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch b/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch
deleted file mode 100644
index 6bad736e2e44..000000000000
--- a/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-printf-format.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/ipfilter.c
-+++ b/src/ipfilter.c
-@@ -146,7 +146,7 @@
- snprintf(msgstr, 60,
- "Invalid protocol input at or near token \"%s\"",
- bptr);
-- tui_error(ANYKEY_MSG, msgstr);
-+ tui_error(ANYKEY_MSG, "%s", msgstr);
- doagain = 1;
- } else
- doagain = 0;
diff --git a/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-sprintf-format.patch b/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-sprintf-format.patch
deleted file mode 100644
index 96f252895cb2..000000000000
--- a/net-analyzer/iptraf-ng/files/iptraf-ng-1.1.4-sprintf-format.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/othptab.c
-+++ b/src/othptab.c
-@@ -410,7 +410,7 @@
- break;
- }
-
-- sprintf(scratchpad, rarp_mac_addr);
-+ sprintf(scratchpad, "%s", rarp_mac_addr);
- strcat(msgstring, scratchpad);
- wattrset(table->othpwin, ARPATTR);
- break;
-@@ -485,7 +485,7 @@
- wattrset(table->othpwin, UNKNIPATTR);
- protptr = getprotobynumber(entry->protocol);
- if (protptr != NULL) {
-- sprintf(protname, protptr->p_aliases[0]);
-+ sprintf(protname, "%s", protptr->p_aliases[0]);
- } else {
- sprintf(protname, "IP protocol");
- unknown = 1;