diff options
Diffstat (limited to 'dhcpv4/server4')
-rw-r--r-- | dhcpv4/server4/server_test.go | 2 |
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 |