diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-10-18 22:18:21 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-18 22:18:21 +0000 |
commit | 261b04199f31bca9fbfade80c72689c0b581348b (patch) | |
tree | 1181008f125b54025e6e33c3511f757a35fe7055 /pkg/sentry/socket | |
parent | 8dfb5f0d9e54a20161b1faef7fbc50a3518d30df (diff) | |
parent | 211bbf82ad2f490ed7215568c2065d76dfa682ca (diff) |
Merge release-20211005.0-58-g211bbf82a (automated)
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r-- | pkg/sentry/socket/netfilter/netfilter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/socket/netfilter/netfilter.go b/pkg/sentry/socket/netfilter/netfilter.go index e3eade180..8d9e73243 100644 --- a/pkg/sentry/socket/netfilter/netfilter.go +++ b/pkg/sentry/socket/netfilter/netfilter.go @@ -58,8 +58,8 @@ var nameToID = map[string]stack.TableID{ // DefaultLinuxTables returns the rules of stack.DefaultTables() wrapped for // compatibility with netfilter extensions. -func DefaultLinuxTables(seed uint32) *stack.IPTables { - tables := stack.DefaultTables(seed) +func DefaultLinuxTables(seed uint32, clock tcpip.Clock) *stack.IPTables { + tables := stack.DefaultTables(seed, clock) tables.VisitTargets(func(oldTarget stack.Target) stack.Target { switch val := oldTarget.(type) { case *stack.AcceptTarget: |