summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/server4/server_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/server4/server_test.go')
-rw-r--r--dhcpv4/server4/server_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/server4/server_test.go b/dhcpv4/server4/server_test.go
index a6895d2..68d0cc3 100644
--- a/dhcpv4/server4/server_test.go
+++ b/dhcpv4/server4/server_test.go
@@ -26,7 +26,7 @@ func randPort() int {
// can't use port 0 with raw sockets, so until we implement
// a non-raw-sockets client for non-static ports, we have to
// deal with this "randomness"
- return 1024 + rand.Intn(65536-1024)
+ return 32*1024 + rand.Intn(65536-32*1024)
}
// DORAHandler is a server handler suitable for DORA transactions