[Listener] Remove const from keep_mode_monitor()
keep_mode_monitor()'s argument was marked as const by mistake, preventing compilation with OWLPS_LISTENER_KEEPS_MONITOR on.
This commit is contained in:
parent
fb4d7668d0
commit
f35a96891f
|
@ -183,7 +183,7 @@ int check_configuration(void) ;
|
|||
void print_configuration(FILE *const stream) ;
|
||||
|
||||
#ifdef OWLPS_LISTENER_KEEPS_MONITOR
|
||||
void* keep_mode_monitor(const void *const iface) ;
|
||||
void* keep_mode_monitor(void *const iface) ;
|
||||
int iface_mode_monitor(const char *const iface) ;
|
||||
#endif // OWLPS_LISTENER_KEEPS_MONITOR
|
||||
int capture(void) ;
|
||||
|
|
|
@ -931,7 +931,7 @@ void print_configuration(FILE *const stream)
|
|||
* Thread function. Switches interface 'iface' to monitor mode every
|
||||
* second. `iface` must be passed as a const char *const.
|
||||
*/
|
||||
void* keep_mode_monitor(const void *const iface)
|
||||
void* keep_mode_monitor(void *const iface)
|
||||
{
|
||||
if (VERBOSE_WARNING)
|
||||
fprintf(stderr, "Thread for keeping monitor mode launched.\n") ;
|
||||
|
|
Loading…
Reference in New Issue