summaryrefslogtreecommitdiffhomepage
path: root/pkg/dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/dhcp')
-rw-r--r--pkg/dhcp/BUILD1
-rw-r--r--pkg/dhcp/client.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/pkg/dhcp/BUILD b/pkg/dhcp/BUILD
index b40860aac..3564da7e7 100644
--- a/pkg/dhcp/BUILD
+++ b/pkg/dhcp/BUILD
@@ -11,6 +11,7 @@ go_library(
],
importpath = "gvisor.googlesource.com/gvisor/pkg/dhcp",
deps = [
+ "//pkg/rand",
"//pkg/tcpip",
"//pkg/tcpip/network/ipv4",
"//pkg/tcpip/stack",
diff --git a/pkg/dhcp/client.go b/pkg/dhcp/client.go
index 37deb69ff..09b724b48 100644
--- a/pkg/dhcp/client.go
+++ b/pkg/dhcp/client.go
@@ -7,12 +7,12 @@ package dhcp
import (
"bytes"
"context"
- "crypto/rand"
"fmt"
"log"
"sync"
"time"
+ "gvisor.googlesource.com/gvisor/pkg/rand"
"gvisor.googlesource.com/gvisor/pkg/tcpip"
"gvisor.googlesource.com/gvisor/pkg/tcpip/network/ipv4"
"gvisor.googlesource.com/gvisor/pkg/tcpip/stack"