diff options
author | Tamir Duberstein <tamird@google.com> | 2021-05-26 10:37:59 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-26 10:40:18 -0700 |
commit | 14a70624ce95dcf9e4505698b1174df583b13179 (patch) | |
tree | 7058e9b7e1960588346a76744affdfb5084678c8 /pkg/tcpip/stack/rand.go | |
parent | 931f9709f00eec79833f5894f98e294af498bac6 (diff) |
Alias most local import
PiperOrigin-RevId: 375977977
Diffstat (limited to 'pkg/tcpip/stack/rand.go')
-rw-r--r-- | pkg/tcpip/stack/rand.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/rand.go b/pkg/tcpip/stack/rand.go index 421fb5c15..c8294eb6e 100644 --- a/pkg/tcpip/stack/rand.go +++ b/pkg/tcpip/stack/rand.go @@ -15,7 +15,7 @@ package stack import ( - mathrand "math/rand" + "math/rand" "gvisor.dev/gvisor/pkg/sync" ) @@ -23,7 +23,7 @@ import ( // lockedRandomSource provides a threadsafe rand.Source. type lockedRandomSource struct { mu sync.Mutex - src mathrand.Source + src rand.Source } func (r *lockedRandomSource) Int63() (n int64) { |