rpms/ipvsadm/F-11 ipvsadm-1.25-activeconns.patch, NONE, 1.1 ipvsadm.spec, 1.19, 1.20

Matthias Saou thias at fedoraproject.org
Thu Apr 29 14:53:06 UTC 2010


Author: thias

Update of /cvs/extras/rpms/ipvsadm/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13147/F-11

Modified Files:
	ipvsadm.spec 
Added Files:
	ipvsadm-1.25-activeconns.patch 
Log Message:
Include patch to fix activeconns when using the netlink interface (#573921).


ipvsadm-1.25-activeconns.patch:
 libipvs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE ipvsadm-1.25-activeconns.patch ---
diff -Naupr ipvsadm-1.25.orig/libipvs/libipvs.c ipvsadm-1.25/libipvs/libipvs.c
--- ipvsadm-1.25.orig/libipvs/libipvs.c	2008-09-23 18:13:56.000000000 +0200
+++ ipvsadm-1.25/libipvs/libipvs.c	2010-04-29 16:47:11.924157647 +0200
@@ -747,7 +747,7 @@ static int ipvs_dests_parse_cb(struct nl
 	d->entrytable[i].l_threshold = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_L_THRESH]);
 	d->entrytable[i].activeconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_ACTIVE_CONNS]);
 	d->entrytable[i].inactconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_INACT_CONNS]);
-	d->entrytable[i].activeconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_PERSIST_CONNS]);
+	d->entrytable[i].persistconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_PERSIST_CONNS]);
 	d->entrytable[i].af = d->af;
 
 	if (ipvs_parse_stats(&(d->entrytable[i].stats),


Index: ipvsadm.spec
===================================================================
RCS file: /cvs/extras/rpms/ipvsadm/F-11/ipvsadm.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- ipvsadm.spec	25 Feb 2009 07:52:39 -0000	1.19
+++ ipvsadm.spec	29 Apr 2010 14:53:05 -0000	1.20
@@ -1,7 +1,7 @@
 Summary: Utility to administer the Linux Virtual Server
 Name: ipvsadm
 Version: 1.25
-Release: 3
+Release: 5%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.linuxvirtualserver.org/software/ipvs.html
@@ -9,6 +9,7 @@ Source0: http://www.linuxvirtualserver.o
 Source1: ipvsadm.init
 Patch0: ipvsadm-1.24-Makefile.patch
 Patch1: ipvsadm-1.25-popt.patch
+Patch2: ipvsadm-1.25-activeconns.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Buildrequires: libnl-devel
 Buildrequires: popt-devel
@@ -24,6 +25,7 @@ offered by the Linux kernel.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 
 %build
@@ -65,6 +67,12 @@ fi
 
 
 %changelog
+* Thu Apr 29 2010 Matthias Saou <http://freshrpms.net/> 1.25-5
+- Include patch to fix activeconns when using the netlink interface (#573921).
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.25-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.25-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 



More information about the scm-commits mailing list