summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2002-12-16 18:25:36 (UTC)
committer mickeyl <mickeyl>2002-12-16 18:25:36 (UTC)
commitf23f43f002c18f62e8decb22476a33407b8e017f (patch) (unidiff)
tree673be0cc02a86697637dbe0eca9d89b51ae6afa7
parent1a981d3a1d8ef7860d673bce009b7253d7e279d7 (diff)
downloadopie-f23f43f002c18f62e8decb22476a33407b8e017f.zip
opie-f23f43f002c18f62e8decb22476a33407b8e017f.tar.gz
opie-f23f43f002c18f62e8decb22476a33407b8e017f.tar.bz2
fix maximum argument length for sniffer device
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/daemon/source/daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/daemon.cc b/noncore/net/wellenreiter/daemon/source/daemon.cc
index 54f308a..ae65a82 100644
--- a/noncore/net/wellenreiter/daemon/source/daemon.cc
+++ b/noncore/net/wellenreiter/daemon/source/daemon.cc
@@ -11,7 +11,7 @@
11int main(int argc, char **argv) 11int main(int argc, char **argv)
12{ 12{
13 int sock, maxfd, retval, card_type; 13 int sock, maxfd, retval, card_type;
14 char buffer[128], sniffer_device[5]; 14 char buffer[128], sniffer_device[6];
15 struct pcap_pkthdr header; 15 struct pcap_pkthdr header;
16 pcap_t *handletopcap; 16 pcap_t *handletopcap;
17 const unsigned char *packet; 17 const unsigned char *packet;