CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/12/18 05:51:10

Modified files:
        usr.bin/nc     : netcat.c 

Log message:
nc: do not test the connection in non-interactive mode

The connection test writes four X to the socket, which corrupts data
that we may want to pipe into nc. So don't do that if stdin is not a
tty but still do it in scan mode, this is needed according to chris.

based on a diff by and ok mpf

Reply via email to