"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mitm/ec_ip6nd_poison.c" between
ettercap-0.8.3.tar.gz and ettercap-

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

ec_ip6nd_poison.c  (ettercap-0.8.3):ec_ip6nd_poison.c  (ettercap-
skipping to change at line 116 skipping to change at line 116
} }
static void ndp_poison_stop(void) static void ndp_poison_stop(void)
{ {
struct hosts_list *h; struct hosts_list *h;
pthread_t pid; pthread_t pid;
DEBUG_MSG("ndp_poison_stop"); DEBUG_MSG("ndp_poison_stop");
pid = ec_thread_getpid("ndp_poisoner"); pid = ec_thread_getpid("ndp_poisoner");
if(!pthread_equal(pid, EC_PTHREAD_NULL)) if(!pthread_equal(pid, ec_thread_getpid(NULL)))
ec_thread_destroy(pid); ec_thread_destroy(pid);
else { else {
DEBUG_MSG("no poisoner thread found"); DEBUG_MSG("no poisoner thread found");
return; return;
} }
USER_MSG("NDP poisoner deactivated.\n"); USER_MSG("NDP poisoner deactivated.\n");
USER_MSG("Depoisoning the victims.\n"); USER_MSG("Depoisoning the victims.\n");
ndp_antidote(); ndp_antidote();
 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)