author | mickeyl <mickeyl> | 2002-12-16 18:25:36 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-16 18:25:36 (UTC) |
commit | f23f43f002c18f62e8decb22476a33407b8e017f (patch) (unidiff) | |
tree | 673be0cc02a86697637dbe0eca9d89b51ae6afa7 | |
parent | 1a981d3a1d8ef7860d673bce009b7253d7e279d7 (diff) | |
download | opie-f23f43f002c18f62e8decb22476a33407b8e017f.zip opie-f23f43f002c18f62e8decb22476a33407b8e017f.tar.gz opie-f23f43f002c18f62e8decb22476a33407b8e017f.tar.bz2 |
fix maximum argument length for sniffer device
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/daemon.cc | 2 |
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 @@ | |||
11 | int main(int argc, char **argv) | 11 | int 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; |