mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Address more comments.
Change-Id: I83ae1079f3dcba6b018f59ab7898decab5c211d2
This commit is contained in:
@@ -33,7 +33,7 @@ const (
|
||||
// DefaultTables returns a default set of tables. Each chain is set to accept
|
||||
// all packets.
|
||||
func DefaultTables() *IPTables {
|
||||
tables := IPTables{
|
||||
return &IPTables{
|
||||
Tables: map[string]Table{
|
||||
tablenameNat: Table{
|
||||
BuiltinChains: map[Hook]Chain{
|
||||
@@ -67,8 +67,6 @@ func DefaultTables() *IPTables {
|
||||
Output: []string{tablenameMangle, tablenameNat},
|
||||
},
|
||||
}
|
||||
|
||||
return &tables
|
||||
}
|
||||
|
||||
func unconditionalAcceptChain(name string) Chain {
|
||||
|
||||
Reference in New Issue
Block a user