#4 weplabs on OpenBSD

open
nobody
None
5
2005-01-10
2005-01-10
Anonymous
No

i am trying to get weplabs 0.1.3 working on OpenBSD 3.5 and I
already
have managed to compile and make some function work on
openbsd. The
only thing i am not able to get working (yet) is the capturing of the
wifi data.

The first patch is because DLT_PRISM_HEADER is not defined on
OpenBSD

# diff capture.h capture.h.old
29,32d28
< #ifndef DLT_PRISM_HEADER
< #define DLT_PRISM_HEADER 119 /* prism header, not
defined on
some platforms */
< #endif
<

Don't ask my why, but putting the int returnvalue=0 on a different
place made this on work.

# diff wep.c wep.c.old
484d483
< int returnvalue=0;
488a488
int returnvalue=0;

Discussion