[-]
[+]
|
Changed |
pmacct.spec
|
|
[-]
[+]
|
Deleted |
pgsql_plugin.c.patch
^
|
@@ -1,11 +0,0 @@
---- src/pgsql_plugin.c 2006-08-28 22:28:02.000000000 +0300
-+++ src/pgsql_plugin.c.new 2006-08-28 22:28:22.000000000 +0300
-@@ -519,7 +519,7 @@
-
- /* "LOCK ..." stuff */
- if (config.sql_dont_try_update) snprintf(lock_clause, sizeof(lock_clause), "BEGIN;");
-- else snprintf(lock_clause, sizeof(lock_clause), "BEGIN; LOCK %s IN EXCLUSIVE MODE;", config.sql_table);
-+ else snprintf(lock_clause, sizeof(lock_clause), "BEGIN; LOCK %s IN ROW EXCLUSIVE MODE;", config.sql_table);
-
- /* "UPDATE ... SET ..." stuff */
- snprintf(update_clause, sizeof(update_clause), "UPDATE %s ", config.sql_table);
|
[-]
[+]
|
Deleted |
pmacct-0.12.3_nfacct_ip-protocol-version.patch
^
|
@@ -1,17 +0,0 @@
---- pmacct-0.12.3/src/nfacctd.c 2010-06-07 03:21:02.000000000 +0200
-+++ cvs/pmacct/src/nfacctd.c 2010-07-29 23:16:08.000000000 +0200
-@@ -1594,8 +1594,12 @@
-
- if (tpl->tpl[NF9_IN_VLAN].len && *(pptrs->f_data+tpl->tpl[NF9_IN_VLAN].off) > 0) ret += NF9_FTYPE_VLAN;
- if (tpl->tpl[NF9_MPLS_LABEL_1].len /* check: value > 0 ? */) ret += NF9_FTYPE_MPLS;
-- if (*(pptrs->f_data+tpl->tpl[NF9_IP_PROTOCOL_VERSION].off) == 4 || tpl->tpl[NF9_IPV4_SRC_ADDR].len > 0);
-- else if (*(pptrs->f_data+tpl->tpl[NF9_IP_PROTOCOL_VERSION].off) == 6 || tpl->tpl[NF9_IPV6_SRC_ADDR].len > 0) ret += NF9_FTYPE_IPV6;
-+
-+ /* Explicit IP protocol definition first; a bit of heuristics as fallback */
-+ if (*(pptrs->f_data+tpl->tpl[NF9_IP_PROTOCOL_VERSION].off) == 4);
-+ else if (*(pptrs->f_data+tpl->tpl[NF9_IP_PROTOCOL_VERSION].off) == 6) ret += NF9_FTYPE_IPV6;
-+ else if (tpl->tpl[NF9_IPV4_SRC_ADDR].len > 0);
-+ else if (tpl->tpl[NF9_IPV6_SRC_ADDR].len > 0) ret += NF9_FTYPE_IPV6;
-
- return ret;
- }
|
[-]
[+]
|
Deleted |
pmacct-bgp.patch
^
|
@@ -1,19 +0,0 @@
---- src/bgp/bgp.c.orig 2010-04-08 23:20:31.549999263 +0200
-+++ src/bgp/bgp.c 2010-04-08 23:21:28.696523637 +0200
-@@ -70,6 +70,7 @@
- u_int32_t remote_as4 = 0;
- time_t now;
- struct hosts_table allow;
-+ char *str_buf;
-
- /* select() stuff */
- fd_set read_descs, bkp_read_descs;
-@@ -283,7 +284,7 @@
- }
- else {
- if (peer->buf.len > BGP_MAX_PACKET_SIZE) {
-- realloc(peer->buf.base, BGP_MAX_PACKET_SIZE);
-+ str_buf = realloc(peer->buf.base, BGP_MAX_PACKET_SIZE);
- memset(peer->buf.base, 0, BGP_MAX_PACKET_SIZE);
- peer->buf.len = BGP_MAX_PACKET_SIZE;
- }
|
|
Deleted |
pmacct-0.11.3.tar.bz2
^
|
|
Deleted |
pmacct-0.11.4.tar.bz2
^
|
|
Deleted |
pmacct-0.11.5.tar.bz2
^
|
|
Deleted |
pmacct-0.11.6.tar.bz2
^
|
|
Deleted |
pmacct-0.12.0.tar.bz2
^
|
|
Deleted |
pmacct-0.12.1.tar.bz2
^
|
|
Deleted |
pmacct-0.12.2.tar.bz2
^
|
|
Deleted |
pmacct-0.12.3.tar.bz2
^
|
|
Deleted |
pmacct-0.12.4.tar.bz2
^
|