Tritium thank you for the patch, it is available in svn now Regards Alfredo
On Sep 25, 2012, at 10:50 AM, Tritium Cat <tritium....@gmail.com> wrote: > On Mon, Sep 24, 2012 at 1:57 AM, Alfredo Cardigliano <cardigli...@ntop.org> > wrote: > Tritium > this has been fixed, please update from svn. > Thank you for your help discovering it! > > > Looks good, thanks for the help. > > I patched libpcap-1.1.1-ring to allow different cluster modes. Is it OK for > SVN ? > > /tc > > > --- ../pfring_svn-2012-09-25/userland/libpcap-1.1.1-ring/pcap-linux.c > 2012-09-25 01:40:46.321435926 -0700 > +++ userland/libpcap-1.1.1-ring/pcap-linux.c 2012-09-25 01:48:19.781447863 > -0700 > @@ -1181,7 +1181,15 @@ > if(clusterId = getenv("PCAP_PF_RING_CLUSTER_ID")) > if(atoi(clusterId) > 0 && atoi(clusterId) < 255) > if(getenv("PCAP_PF_RING_USE_CLUSTER_PER_FLOW")) > - pfring_set_cluster(handle->ring, atoi(clusterId), > cluster_per_flow); > + pfring_set_cluster(handle->ring, atoi(clusterId), > cluster_per_flow); > + else if ( > getenv("PCAP_PF_RING_USE_CLUSTER_PER_FLOW_2_TUPLE")) > + pfring_set_cluster(handle->ring, atoi(clusterId), > cluster_per_flow_2_tuple); > + else if ( > getenv("PCAP_PF_RING_USE_CLUSTER_PER_FLOW_4_TUPLE")) > + pfring_set_cluster(handle->ring, atoi(clusterId), > cluster_per_flow_4_tuple); > + else if ( > getenv("PCAP_PF_RING_USE_CLUSTER_PER_FLOW_TCP_5_TUPLE")) > + pfring_set_cluster(handle->ring, atoi(clusterId), > cluster_per_flow_tcp_5_tuple); > + else if ( > getenv("PCAP_PF_RING_USE_CLUSTER_PER_FLOW_5_TUPLE")) > + pfring_set_cluster(handle->ring, atoi(clusterId), > cluster_per_flow_5_tuple); > else > pfring_set_cluster(handle->ring, atoi(clusterId), > cluster_round_robin); > > > > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc