"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plug-ins/isolate/isolate.c" between
ettercap-0.8.3.tar.gz and ettercap-0.8.3.1.tar.gz

About: ettercap is a multipurpose sniffer/interceptor/logger for switched LAN.

isolate.c  (ettercap-0.8.3):isolate.c  (ettercap-0.8.3.1)
skipping to change at line 109 skipping to change at line 109
pthread_t pid; pthread_t pid;
struct hosts_list *h, *tmp; struct hosts_list *h, *tmp;
/* variable not used */ /* variable not used */
(void) dummy; (void) dummy;
/* remove the hook */ /* remove the hook */
hook_del(HOOK_PACKET_ARP_RQ, &parse_arp); hook_del(HOOK_PACKET_ARP_RQ, &parse_arp);
/* get those pids and kill 'em all */ /* get those pids and kill 'em all */
while(!pthread_equal(pid = ec_thread_getpid("isolate"), EC_PTHREAD_NULL)) while(!pthread_equal(pid = ec_thread_getpid("isolate"), ec_thread_getpid(NULL )))
ec_thread_destroy(pid); ec_thread_destroy(pid);
/* free the list */ /* free the list */
LIST_FOREACH_SAFE(h, &victims, next, tmp) { LIST_FOREACH_SAFE(h, &victims, next, tmp) {
SAFE_FREE(h); SAFE_FREE(h);
LIST_REMOVE(h, next); LIST_REMOVE(h, next);
} }
return PLUGIN_FINISHED; return PLUGIN_FINISHED;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)