rpms/iptraf/devel iptraf-3.0.1-servmon-fix.patch, NONE, 1.1 iptraf.spec, 1.35, 1.36

Nikola Pajkovsky npajkovs at fedoraproject.org
Mon Jan 4 15:49:14 UTC 2010


Author: npajkovs

Update of /cvs/extras/rpms/iptraf/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16684

Modified Files:
	iptraf.spec 
Added Files:
	iptraf-3.0.1-servmon-fix.patch 
Log Message:
Resolves: #549745 - iptraf -s lo makes iptraf crash

iptraf-3.0.1-servmon-fix.patch:
 serv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE iptraf-3.0.1-servmon-fix.patch ---
diff -up iptraf-3.0.1/src/serv.c.servmon-fix iptraf-3.0.1/src/serv.c
--- iptraf-3.0.1/src/serv.c.servmon-fix	2009-12-28 14:37:25.000000000 +0100
+++ iptraf-3.0.1/src/serv.c	2009-12-28 14:40:41.580853867 +0100
@@ -1052,7 +1052,6 @@ void servmon(char *ifname, struct portta
                     list.baridx = 1;
                 }
             }
-        }
         } else {
             if ((((struct ip6_hdr *) ipacket)->ip6_nxt == IPPROTO_TCP)
                 || (((struct ip6_hdr *) ipacket)->ip6_nxt ==
@@ -1073,6 +1072,7 @@ void servmon(char *ifname, struct portta
                 }
             }
         }
+        }
     }
 
     if (logging) {


Index: iptraf.spec
===================================================================
RCS file: /cvs/extras/rpms/iptraf/devel/iptraf.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- iptraf.spec	25 Jul 2009 03:32:48 -0000	1.35
+++ iptraf.spec	4 Jan 2010 15:49:14 -0000	1.36
@@ -1,7 +1,7 @@
 Summary: A console-based network monitoring utility
 Name: iptraf
 Version: 3.0.1
-Release: 8%{?dist}
+Release: 9%{?dist}
 Source0: ftp://iptraf.seul.org/pub/iptraf/%{name}-%{version}.tar.gz
 Source1: iptraf 
 URL: http://iptraf.seul.org
@@ -18,6 +18,7 @@ Patch10: iptraf-3.0.0-ifname.patch
 Patch11: iptraf-3.0.0-interface.patch
 Patch12: iptraf-3.0.1-ipv6.patch
 Patch13: iptraf-3.0.1-ipv6-fix.patch
+Patch14: iptraf-3.0.1-servmon-fix.patch
 License: GPLv2+
 Group: Applications/System
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -46,6 +47,7 @@ on a wide variety of supported network c
 %patch7 -p1 -b .compile
 %patch12 -p1 -b .ipv6
 %patch13 -p1 -b .ipv6-fix
+%patch14 -p1 -b .servmon-fix
 %patch0 -p1 -b .Makefile
 %patch1 -p1 -b .install
 %patch2 -p1 -b .doc
@@ -98,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir %attr(644,root,root) %config(noreplace) /etc/logrotate.d/iptraf
 
 %changelog
+* Mon Jan 4 2010 Nikola Pajkovsky <npajkovs at redhat.com> - 3.0.1-9
+- Resolves: #549745 - "iptraf -s lo" makes iptraf crash
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list