diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-07-24 23:12:03 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-24 23:12:03 +0000 |
commit | d5cc44be8cb0acd37a79b06b30fb080d492891ba (patch) | |
tree | b6f4a08f808504ce1044f3e2b04bd387b145ef6a /pkg/sentry/socket/epsocket | |
parent | b218bb73ffeba4adaabfb0bdc73c6987ec7fdc76 (diff) | |
parent | 2ed832ff86ee29970d0a3991297de818bda67b9c (diff) |
Merge 2ed832ff (automated)
Diffstat (limited to 'pkg/sentry/socket/epsocket')
-rw-r--r-- | pkg/sentry/socket/epsocket/stack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/socket/epsocket/stack.go b/pkg/sentry/socket/epsocket/stack.go index 7eef19f74..8fe489c0e 100644 --- a/pkg/sentry/socket/epsocket/stack.go +++ b/pkg/sentry/socket/epsocket/stack.go @@ -75,8 +75,8 @@ func (s *Stack) InterfaceAddrs() map[int32][]inet.InterfaceAddr { addrs = append(addrs, inet.InterfaceAddr{ Family: family, - PrefixLen: uint8(len(a.Address) * 8), - Addr: []byte(a.Address), + PrefixLen: uint8(a.AddressWithPrefix.PrefixLen), + Addr: []byte(a.AddressWithPrefix.Address), // TODO(b/68878065): Other fields. }) } |