d5fcf1d08f
SiLK, the System for Internet-Level Knowledge, is a collection of netflow tools developed by the CERT/NetSA (Network Situational Awareness) Team to facilitate security analysis in large networks. SiLK consists of a suite of tools which collect and examine netflow data, allowing analysts to rapidly query large sets of data. WWW: http://silktools.sourceforge.net PR: ports/94623 Submitted by: David Thiel <lx@redundancy.redundancy.org>
38 lines
958 B
C
38 lines
958 B
C
--- src/rw/rwpmatch/rwpdedupe.c.orig Sun Mar 19 23:57:23 2006
|
|
+++ src/rw/rwpmatch/rwpdedupe.c Sun Mar 19 23:57:45 2006
|
|
@@ -782,13 +782,14 @@
|
|
input_t *buffers,
|
|
int index )
|
|
{
|
|
+ pcap_pkt_t *pkt;
|
|
+ sk_link_err_t rv;
|
|
+ sk_link_item_t *node;
|
|
+
|
|
assert( buffers != NULL );
|
|
assert( index >= 0 );
|
|
assert( index < g_input_count );
|
|
|
|
- pcap_pkt_t *pkt;
|
|
- sk_link_err_t rv;
|
|
- sk_link_item_t *node;
|
|
rv = skLinkGetHead( &node, buffers[index].head );
|
|
if ( rv != SKLINK_OK ) {
|
|
return NULL;
|
|
@@ -808,13 +809,14 @@
|
|
input_t *buffers,
|
|
int index )
|
|
{
|
|
+ pcap_pkt_t *pkt;
|
|
+ sk_link_err_t rv;
|
|
+ sk_link_item_t *node;
|
|
+
|
|
assert( buffers != NULL );
|
|
assert( index >= 0 );
|
|
assert( index < g_input_count );
|
|
|
|
- pcap_pkt_t *pkt;
|
|
- sk_link_err_t rv;
|
|
- sk_link_item_t *node;
|
|
rv = skLinkGetTail( &node, buffers[index].head );
|
|
if ( rv != SKLINK_OK ) {
|
|
return NULL;
|