"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plug-ins/rand_flood/rand_flood.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.

rand_flood.c  (ettercap-0.8.3):rand_flood.c  (ettercap-0.8.3.1)
skipping to change at line 120 skipping to change at line 120
static int rand_flood_fini(void *dummy) static int rand_flood_fini(void *dummy)
{ {
pthread_t pid; pthread_t pid;
/* variable not used */ /* variable not used */
(void) dummy; (void) dummy;
pid = ec_thread_getpid("flooder"); pid = ec_thread_getpid("flooder");
/* the thread is active or not ? */ /* the thread is active or not ? */
if (!pthread_equal(pid, EC_PTHREAD_NULL)) if (!pthread_equal(pid, ec_thread_getpid(NULL)))
ec_thread_destroy(pid); ec_thread_destroy(pid);
INSTANT_USER_MSG("rand_flood: plugin stopped...\n"); INSTANT_USER_MSG("rand_flood: plugin stopped...\n");
return PLUGIN_FINISHED; return PLUGIN_FINISHED;
} }
EC_THREAD_FUNC(flooder) EC_THREAD_FUNC(flooder)
{ {
struct timeval seed; struct timeval seed;
 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)