"Fossies" - the Fresh Open Source Software Archive  

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

stp_mangler.c  (ettercap-0.8.3):stp_mangler.c  (ettercap-0.8.3.1)
skipping to change at line 129 skipping to change at line 129
static int stp_mangler_fini(void *dummy) static int stp_mangler_fini(void *dummy)
{ {
pthread_t pid; pthread_t pid;
/* variable not used */ /* variable not used */
(void) dummy; (void) dummy;
pid = ec_thread_getpid("mangler"); pid = ec_thread_getpid("mangler");
/* 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("stp_mangler: plugin stopped...\n"); INSTANT_USER_MSG("stp_mangler: plugin stopped...\n");
return PLUGIN_FINISHED; return PLUGIN_FINISHED;
} }
EC_THREAD_FUNC(mangler) EC_THREAD_FUNC(mangler)
{ {
struct eth_header *heth; struct eth_header *heth;
 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)