summaryrefslogtreecommitdiffstats
path: root/ulogd/pcap
diff options
context:
space:
mode:
authorlaforge <laforge>2003-08-23 17:25:59 +0000
committerlaforge <laforge>2003-08-23 17:25:59 +0000
commit77a62111e3dc548ac6cf10e95668bd9e8d1688b0 (patch)
tree1cc75bbe7f3eedb563de88f2ffbf8cace24e1da8 /ulogd/pcap
parent94a2d8b477921737b783c75ccc9191ed7afdf5ef (diff)
remove unused variables
Diffstat (limited to 'ulogd/pcap')
-rw-r--r--ulogd/pcap/ulogd_PCAP.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ulogd/pcap/ulogd_PCAP.c b/ulogd/pcap/ulogd_PCAP.c
index 9c554cc..d25b19e 100644
--- a/ulogd/pcap/ulogd_PCAP.c
+++ b/ulogd/pcap/ulogd_PCAP.c
@@ -1,4 +1,4 @@
-/* ulogd_PCAP.c, Version $Revision: 1.3 $
+/* ulogd_PCAP.c, Version $Revision: 1.4 $
*
* ulogd output target for writing pcap-style files (like tcpdump)
*
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: ulogd_PCAP.c,v 1.3 2003/04/27 07:39:07 laforge Exp $
+ * $Id: ulogd_PCAP.c,v 1.4 2003/04/27 07:43:37 laforge Exp $
*
*/
@@ -60,8 +60,6 @@ static config_entry_t pcapsync_ce = { &pcapf_ce, "pcapsync",
static FILE *of = NULL;
-static char hostname[255];
-
struct intr_id {
char* name;
unsigned int id;
@@ -81,7 +79,6 @@ static struct intr_id intr_ids[INTR_IDS] = {
int _output_pcap(ulog_iret_t *res)
{
- ulog_iret_t *ret;
struct pcap_pkthdr pchdr;
pchdr.caplen = GET_VALUE(1).ui32;