David:
Great, thanks! I'll update the package on my ftp
site.
BTW, have you been able to build the patched code
on a glibc2.0 system? I used to use c0wz for my building,
but can't now with Rick's situation...
-Scott
On Thu, 25 Oct 2001, David Douthitt wrote:
> "Scott C. Best" wrote:
>
> > Heya. Actually, yea, gatping is a play on Gatling. :)
> > It essentially sends out 256 minimum-sized icmp echo requests,
> > ignoring the responses, so as to get a freshened-up ARP
> > table.
>
> In compiling gatping (0.2), I get lots of interesting things :-/
>
> # make
> gcc -s -O2 -Wall -o gatping gatping.c
> gatping.c: In function `main':
> gatping.c:106: warning: unused variable `buf'
> gatping.c:104: warning: unused variable `j'
> gatping.c:104: warning: unused variable `i'
> gatping.c:143: warning: control reaches end of non-void function
> gatping.c: In function `send_ping':
> gatping.c:183: warning: control reaches end of non-void function
> gatping.c: In function `make_target_list':
> gatping.c:217: warning: implicit declaration of function `inet_aton'
> gatping.c:218: warning: implicit declaration of function `inet_ntoa'
> gatping.c:218: warning: assignment makes pointer from integer without a
> cast
> gatping.c:192: warning: unused variable `j'
> gatping.c:191: warning: unused variable `buflen'
> gatping.c:236: warning: control reaches end of non-void function
> gatping.c: In function `search_arp':
> gatping.c:248: warning: unused variable `testbuf'
> gatping.c:246: warning: unused variable `m'
> gatping.c:246: warning: unused variable `k'
> gatping.c:246: warning: unused variable `j'
> gatping.c:246: warning: unused variable `i'
> gatping.c:288: warning: control reaches end of non-void function
> gatping.c: In function `in_cksum':
> gatping.c:295: warning: unused variable `answer'
> gatping.c:307: warning: control reaches end of non-void function
>
> I created a patch to fix most of them; it is attached. I also created a
> minimal Makefile to allow a make.
>
> I've also created a lrp/* directory for gatping (but not Echoware)..
>
> I've also created a gatping package - also included.
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel