diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-05 02:09:00 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-05 02:09:00 +0000 |
commit | c6929ff8597fb885c7df1b0a6487180d660602d2 (patch) | |
tree | e3d2ecc032f0279c9bae0b6261101db6087e86dc /pkg/sentry/socket/hostinet | |
parent | d2dee4e92825f5a68c3a7b1f00fb07471e428617 (diff) | |
parent | 665b614e4a6e715bac25bea15c5c29184016e549 (diff) |
Merge release-20200127.0-80-g665b614 (automated)
Diffstat (limited to 'pkg/sentry/socket/hostinet')
-rw-r--r-- | pkg/sentry/socket/hostinet/stack.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/sentry/socket/hostinet/stack.go b/pkg/sentry/socket/hostinet/stack.go index 034eca676..a48082631 100644 --- a/pkg/sentry/socket/hostinet/stack.go +++ b/pkg/sentry/socket/hostinet/stack.go @@ -310,6 +310,11 @@ func (s *Stack) InterfaceAddrs() map[int32][]inet.InterfaceAddr { return addrs } +// AddInterfaceAddr implements inet.Stack.AddInterfaceAddr. +func (s *Stack) AddInterfaceAddr(idx int32, addr inet.InterfaceAddr) error { + return syserror.EACCES +} + // SupportsIPv6 implements inet.Stack.SupportsIPv6. func (s *Stack) SupportsIPv6() bool { return s.supportsIPv6 |