Update of /cvsroot/javanetsim/IceScan
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv14219
Modified Files:
icediscover.h
Log Message:
no message
Index: icediscover.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/icediscover.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** icediscover.h 12 Dec 2006 20:40:19 -0000 1.4
--- icediscover.h 13 Dec 2006 14:15:21 -0000 1.5
***************
*** 42,46 ****
void *send_icmp_echo(void *arg){
struct discover_thread_params *dtp = (struct discover_thread_params *) arg;
!
crawsocket *r = dtp->r;
char *hostname = dtp->hostname;
--- 42,46 ----
void *send_icmp_echo(void *arg){
struct discover_thread_params *dtp = (struct discover_thread_params *) arg;
!
crawsocket *r = dtp->r;
char *hostname = dtp->hostname;
***************
*** 69,72 ****
--- 69,74 ----
out->line("Sending icmp ping host discovery request (echo_request)...");
+ DBGOUTPUT(hostname);
+
r->sendto(hostname, buftosend, len, 0);
***************
*** 79,82 ****
--- 81,85 ----
bool icmp_echo_ping(const char *hostname, iceparams *par, iceoutput *out){
char *t_hostname = (char *) malloc(strlen(hostname) + 1);
+ strcpy(t_hostname, hostname);
if(!getuid()){
|