author | mickeyl <mickeyl> | 2002-12-11 14:57:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-11 14:57:54 (UTC) |
commit | f9ab0941b88762b0c6c2f0a623f3067d6e1e9c49 (patch) (side-by-side diff) | |
tree | d9d45a52b43b74029a9d5fd36b34016c55a1d036 /noncore/net/wellenreiter/daemon/source/daemon.cc | |
parent | 7a17954c26add31f28b69989f54e0f28a17c8949 (diff) | |
download | opie-f9ab0941b88762b0c6c2f0a623f3067d6e1e9c49.zip opie-f9ab0941b88762b0c6c2f0a623f3067d6e1e9c49.tar.gz opie-f9ab0941b88762b0c6c2f0a623f3067d6e1e9c49.tar.bz2 |
- include wellenreiter.desktop in .pro-file
- daemon now uses CARD_TYPE defined in header file (was: hardcoded CARD_TYPE_NG)
(BTW. - we really need argument parsing and the config stuff ASAP)
- default CARD_TYPE now is CARD_TYPE_HOSTAP
Diffstat (limited to 'noncore/net/wellenreiter/daemon/source/daemon.cc') (more/less context) (ignore whitespace changes)
-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 95f2f83..cc72377 100644 --- a/noncore/net/wellenreiter/daemon/source/daemon.cc +++ b/noncore/net/wellenreiter/daemon/source/daemon.cc @@ -11,25 +11,25 @@ int main(int argc, char **argv) { int sock, maxfd, retval; char buffer[128]; struct pcap_pkthdr header; pcap_t *handletopcap; const unsigned char *packet; fd_set rset; fprintf(stderr, "wellenreiterd %s\n\n", VERSION); - if(!card_into_monitormode(&handletopcap, SNIFFER_DEVICE, CARD_TYPE_NG)) + if(!card_into_monitormode(&handletopcap, SNIFFER_DEVICE, CARD_TYPE)) { wl_logerr("Cannot set card into mon mode, aborting"); exit(-1); } wl_loginfo("Set card into monitor mode"); /////// following line will be moved to lib as soon as possible //////////// if((handletopcap = pcap_open_live(SNIFFER_DEVICE, BUFSIZ, 1, 0, NULL)) == NULL) { wl_logerr("pcap_open_live() failed: %s", strerror(errno)); exit(-1); } |