summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaforge <laforge>2003-08-23 17:25:59 +0000
committerlaforge <laforge>2003-08-23 17:25:59 +0000
commit315353fcb28dc0413dfc87fa4ddcd8ede56a42aa (patch)
tree6f114bbf092bd65c6fdad8a109ca5601649b21c7
parentfbc7a484f75073899416b3ed0de2b14b6363f312 (diff)
remove unused variables
-rw-r--r--pcap/ulogd_PCAP.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/pcap/ulogd_PCAP.c b/pcap/ulogd_PCAP.c
index 9c554cc..d25b19e 100644
--- a/pcap/ulogd_PCAP.c
+++ b/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;