]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use different ports in the TCP/UDP testcases with the first set and
authorngie <ngie@FreeBSD.org>
Sat, 23 Jan 2016 22:51:22 +0000 (22:51 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 23 Jan 2016 22:51:22 +0000 (22:51 +0000)
commitf519aed619251f16640a39b7d3a9f04fba3641d3
tree60d4a909daf2b87de721c2b546a33b0446a0525e
parent91acafb74c3f9996a741d62572ad443dbce23f59
Use different ports in the TCP/UDP testcases with the first set and
the second set (increment the original ports by 10)

This avoids issues where the first listening socket might not be torn
down by the time it makes it to the second set of testcases.

The sockets should likely only be setup once, but this keeps in the
spirit of the original testcases, so this will be easier to backport
to ^/stable/9

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
tools/regression/sockets/zerosend/zerosend.c