Nmap Development mailing list archives

Re: All right, who broke netcat? :-p


From: David Fifield <david () bamsoftware com>
Date: Mon, 27 Jul 2009 13:27:32 -0600

On Mon, Jul 27, 2009 at 11:30:26AM -0700, Corey Chandler wrote:
gcc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\""  
-D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -g -O2 -Wall  
-c ncat_connect.c -o ncat_connect.o
ncat_connect.c: In function ‘ncat_connect’:
ncat_connect.c:272: error: ‘IPPROTO_SCTP’ undeclared (first use in this  
function)
ncat_connect.c:272: error: (Each undeclared identifier is reported only once
ncat_connect.c:272: error: for each function it appears in.)
make[1]: *** [ncat_connect.o] Error 1
make: *** [ncat_build] Error 2

Thanks for the notice. IPPROTO_SCTP was defined in ncat_listen.c but not
ncat_connect.c. I moved it to ncat.h so it can be shared.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: