rpms/iptraf/devel iptraf-3.0.0-in_trafic.patch, NONE, 1.1 iptraf.spec, 1.23, 1.24

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Dec 11 10:30:23 UTC 2006


Author: mmaslano

Update of /cvs/dist/rpms/iptraf/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29649

Modified Files:
	iptraf.spec 
Added Files:
	iptraf-3.0.0-in_trafic.patch 
Log Message:
Patch for incoming traffic statistic.


iptraf-3.0.0-in_trafic.patch:
 serv.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE iptraf-3.0.0-in_trafic.patch ---
--- iptraf-3.0.0/src/serv.c.in	2006-12-11 11:13:27.000000000 +0100
+++ iptraf-3.0.0/src/serv.c	2006-12-11 11:12:49.000000000 +0100
@@ -333,7 +333,7 @@
         }
 
         dport_listent->ibcount += br;
-        dport_listent->spans.spanbr_out += br;
+        dport_listent->spans.spanbr_in += br;
         dport_listent->icount++;
     }
     if (sport_listent != NULL || dport_listent != NULL) {


Index: iptraf.spec
===================================================================
RCS file: /cvs/dist/rpms/iptraf/devel/iptraf.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- iptraf.spec	12 Jul 2006 06:25:47 -0000	1.23
+++ iptraf.spec	11 Dec 2006 10:30:21 -0000	1.24
@@ -1,7 +1,7 @@
 Summary: A console-based network monitoring utility.
 Name: iptraf
 Version: 3.0.0
-Release: 4.1
+Release: 5%{?dist}
 Source: ftp://iptraf.seul.org/pub/iptraf/%{name}-%{version}.tar.gz
 URL: http://iptraf.seul.org/
 Patch0: iptraf-2.4.0-Makefile.patch
@@ -12,6 +12,7 @@
 Patch5: iptraf-3.0.0-setlocale.patch
 Patch6: iptraf-3.0.0-longdev.patch
 Patch7: iptraf-3.0.0-compile.fix.patch
+Patch8: iptraf-3.0.0-in_trafic.patch
 License: GPL
 Group: Applications/System
 BuildRoot: /var/tmp/%{name}-%{version}-root
@@ -45,6 +46,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 make -C src CFLAGS="$RPM_OPT_FLAGS" \
@@ -84,6 +86,9 @@
 %dir %attr(700,root,root) /var/lib/iptraf
 
 %changelog
+* Mon Dec 11 2006 Marcela Maslanova <mmaslano at redhat.com> - 3.0.0-5
+- input traffic
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 3.0.0-4.1
 - rebuild
 




More information about the fedora-cvs-commits mailing list