[PATCH 4.15 027/168] selftests/net: fix bugs in address and port initialization