Resolves: #1835155 - netstat says "packetes" instead of "packets"

This commit is contained in:
Michal Ruprich 2020-08-06 09:20:27 +02:00
parent 76b98e5ce2
commit 2125c98c11
2 changed files with 58 additions and 1 deletions

View File

@ -0,0 +1,52 @@
diff --git a/statistics.c.old b/statistics.c
index 8c2e18e..ed5dcaf 100644
--- a/statistics.c.old
+++ b/statistics.c
@@ -215,7 +215,7 @@ static const struct entry Tcpexttab[] =
{"OfoPruned", N_("%llu packets dropped from out-of-order queue because of socket buffer overrun"), opt_number},
{"OutOfWindowIcmps", N_("%llu ICMP packets dropped because they were out-of-window"), opt_number},
{"PAWSActive", N_("%llu active connections rejected because of time stamp"), opt_number},
- {"PAWSEstab", N_("%llu packetes rejected in established connections because of timestamp"), opt_number},
+ {"PAWSEstab", N_("%llu packets rejected in established connections because of timestamp"), opt_number},
{"PAWSPassive", N_("%llu passive connections rejected because of time stamp"), opt_number},
{"PruneCalled", N_("%llu packets pruned from receive queue because of socket buffer overrun"), opt_number},
{"RcvPruned", N_("%llu packets pruned from receive queue"), opt_number},
diff --git a/po/cs.po.old b/po/cs.po
index 7fe0e17..0857a86 100644
--- a/po/cs.po.old
+++ b/po/cs.po
@@ -1960,7 +1960,7 @@ msgstr "PoÄ<6F>et odmítnutých aktivních spojení kvůli Ä<>asovému razítku: %u"
#: ../statistics.c:237
#, c-format
-msgid "%u packetes rejected in established connections because of timestamp"
+msgid "%u packets rejected in established connections because of timestamp"
msgstr ""
"PoÄ<6F>et odmítnutých packetů uvnitÅ™ navázaného spojení kvůli Ä<>asovému razítku: %"
"u"
diff --git a/po/et_EE.po.old b/po/et_EE.po
index ebc9de6..2afbaa9 100644
--- a/po/et_EE.po.old
+++ b/po/et_EE.po
@@ -1626,7 +1626,7 @@ msgstr "%u aktiivsest
#: ../statistics.c:167
#, c-format
-msgid "%u packetes rejected in established connections because of timestamp"
+msgid "%u packets rejected in established connections because of timestamp"
msgstr "%u paketist keelduti loodud ühendustes ajatempli tõttu"
#: ../statistics.c:169
diff --git a/po/net-tools.pot.old b/po/net-tools.pot
index 7496818..b81bf1a 100644
--- a/po/net-tools.pot.old
+++ b/po/net-tools.pot
@@ -1746,7 +1746,7 @@ msgstr ""
#: ../statistics.c:167
#, c-format
-msgid "%u packetes rejected in established connections because of timestamp"
+msgid "%u packets rejected in established connections because of timestamp"
msgstr ""
#: ../statistics.c:169

View File

@ -3,7 +3,7 @@
Summary: Basic networking tools
Name: net-tools
Version: 2.0
Release: 0.57.%{checkout}%{?dist}
Release: 0.58.%{checkout}%{?dist}
License: GPLv2+
URL: http://sourceforge.net/projects/net-tools/
@ -36,6 +36,7 @@ Patch21: net-tools-ifconfig-EiB.patch
Patch22: net-tools-timer-man.patch
Patch23: net-tools-interface-name-len.patch
Patch24: net-tools-correct-exit-code.patch
Patch25: net-tools-spelling-error.patch
BuildRequires: bluez-libs-devel
BuildRequires: gettext, libselinux
@ -69,6 +70,7 @@ cp %SOURCE8 ./man/en_US
%patch22 -p1 -b .timer-man
%patch23 -p1 -b .interface-name-len
%patch24 -p1 -b .exit-codes
%patch25 -p1 -b .spelling
touch ./config.h
@ -141,6 +143,9 @@ install -D -p -m 644 %{SOURCE9} %{buildroot}%{_unitdir}/arp-ethers.service
%attr(0644,root,root) %{_unitdir}/arp-ethers.service
%changelog
* Thu Aug 06 2020 Michal Ruprich <michalruprich@gmail.com> - 2.0-0.58.20160912git
- Resolves: #1835155 - netstat says "packetes" instead of "packets"
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-0.57.20160912git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild