Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/net/sys

Module Name:    src
Committed By:   pooka
Date:           Sat Jun 12 14:31:29 UTC 2010

Modified Files:
        src/tests/net/sys: t_connect.c

Log Message:
Connect to localhost instead of to a) make this work
in non-routed setups b) avoid the dubious security implications.
Also, to make the test actually do what it claims to do, call
getsockname() and verify we got a low port.

To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/net/sys/t_connect.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index