From a1c19fd966538af1b8291ff6de8bc506285746e7 Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Wed, 19 May 2021 10:45:23 +0200 Subject: [PATCH] Resolves: #1961792 - Missing space in 'route' tool for inet6 --- net-tools-route-inet6-output.patch | 10 ++++++++++ net-tools.spec | 9 +++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 net-tools-route-inet6-output.patch diff --git a/net-tools-route-inet6-output.patch b/net-tools-route-inet6-output.patch new file mode 100644 index 0000000..ef20b03 --- /dev/null +++ b/net-tools-route-inet6-output.patch @@ -0,0 +1,10 @@ +--- a/lib/inet6_gr.c ++++ b/lib/inet6_gr.c +@@ -146,7 +146,7 @@ + strcat(flags, "f"); + + /* Print the info. */ +- printf("%-30s %-26s %-4s %-3d %-1d%6d %s\n", ++ printf("%-30s %-26s %-4s %-3d %-1d %6d %s\n", + addr6, naddr6, flags, metric, refcnt, use, iface); + } diff --git a/net-tools.spec b/net-tools.spec index 2f40f80..4b19324 100644 --- a/net-tools.spec +++ b/net-tools.spec @@ -3,7 +3,7 @@ Summary: Basic networking tools Name: net-tools Version: 2.0 -Release: 0.60.%{checkout}%{?dist} +Release: 0.61.%{checkout}%{?dist} License: GPLv2+ URL: http://sourceforge.net/projects/net-tools/ @@ -37,6 +37,7 @@ 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 +Patch26: net-tools-route-inet6-output.patch BuildRequires: make BuildRequires: bluez-libs-devel @@ -72,6 +73,7 @@ cp %SOURCE8 ./man/en_US %patch23 -p1 -b .interface-name-len %patch24 -p1 -b .exit-codes %patch25 -p1 -b .spelling +%patch26 -p1 -b .route-inet6 touch ./config.h @@ -144,13 +146,16 @@ install -D -p -m 644 %{SOURCE9} %{buildroot}%{_unitdir}/arp-ethers.service %attr(0644,root,root) %{_unitdir}/arp-ethers.service %changelog +* Wed May 19 2021 Michal Ruprich - 2.0-0.61.20160912git +- Resolves: #1961792 - Missing space in 'route' tool for inet6 + * Fri Apr 16 2021 Mohan Boddu - 2.0-0.60.20160912git - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 * Tue Jan 26 2021 Fedora Release Engineering - 2.0-0.59.20160912git - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -* Thu Aug 06 2020 Michal Ruprich - 2.0-0.58.20160912git +* Thu Aug 06 2020 Michal Ruprich - 2.0-0.58.20160912git - Resolves: #1835155 - netstat says "packetes" instead of "packets" * Tue Jul 28 2020 Fedora Release Engineering - 2.0-0.57.20160912git