mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
More little fixes.
This commit is contained in:
@@ -325,8 +325,8 @@ func SetEntries(stack *stack.Stack, optVal []byte) *syserr.Error {
|
||||
return syserr.ErrInvalidArgument
|
||||
}
|
||||
|
||||
// TODO(gvisor.dev/issue/170): We should support IPTIP
|
||||
// filtering. We reject any nonzero IPTIP values for now.
|
||||
// TODO(gvisor.dev/issue/170): We should support more IPTIP
|
||||
// filtering fields.
|
||||
filter, err := filterFromIPTIP(entry.IP)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
package iptables
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"net"
|
||||
"os"
|
||||
@@ -22,8 +23,6 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"flag"
|
||||
|
||||
"gvisor.dev/gvisor/pkg/log"
|
||||
"gvisor.dev/gvisor/runsc/dockerutil"
|
||||
"gvisor.dev/gvisor/runsc/testutil"
|
||||
|
||||
Reference in New Issue
Block a user