author | mickeyl <mickeyl> | 2002-12-16 18:25:36 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-16 18:25:36 (UTC) |
commit | f23f43f002c18f62e8decb22476a33407b8e017f (patch) (side-by-side diff) | |
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 @@ int main(int argc, char **argv) { int sock, maxfd, retval, card_type; - char buffer[128], sniffer_device[5]; + char buffer[128], sniffer_device[6]; struct pcap_pkthdr header; pcap_t *handletopcap; const unsigned char *packet; |